We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35095e4 commit 96221a3Copy full SHA for 96221a3
1 file changed
src/Client.php
@@ -32,7 +32,7 @@ public function __construct(StreamInterface $stream, Parser $parser = null)
32
try {
33
$messages = $parser->push($chunk);
34
} catch (UnexpectedValueException $e) {
35
- $that->emit('error', array($e, $this));
+ $that->emit('error', array($e, $that));
36
return;
37
}
38
0 commit comments