Skip to content

Commit

Permalink
Merge pull request #74 from tautrimas/patch-1
Browse files Browse the repository at this point in the history
Missing backslash \Exception
  • Loading branch information
walkor authored Feb 6, 2017
2 parents 3f2b00d + 31a5b11 commit c8bdd6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Socket.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public function emit($ev = null)
//{
if ($this->_rooms || isset($flags['broadcast']))
{
throw new Exception('Callbacks are not supported when broadcasting');
throw new \Exception('Callbacks are not supported when broadcasting');
}
echo('emitting packet with ack id ' . $this->nsp->ids);
$this->acks[$this->nsp->ids] = array_pop($args);
Expand Down

0 comments on commit c8bdd6c

Please sign in to comment.