Completed
Push — master ( 3cb533...c0eda5 )
by Sergey
03:07
created
src/Client.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -71,16 +71,16 @@
 block discarded – undo
71 71
 
72 72
     protected function setConnectionHandlers()
73 73
     {
74
-        $this->connection->on('data', function ($chunk) {
74
+        $this->connection->on('data', function($chunk) {
75 75
             $parsed = $this->parser->parseRawResponse($chunk);
76 76
             $this->resolveRequests($parsed);
77 77
         });
78 78
 
79
-        $this->connection->on('failed', function () {
79
+        $this->connection->on('failed', function() {
80 80
             $this->rejectPendingRequestsWith(new ConnectionClosedException());
81 81
         });
82 82
 
83
-        $this->connection->on('close', function () {
83
+        $this->connection->on('close', function() {
84 84
             if (!$this->isEnding) {
85 85
                 $this->emit('error', [new ConnectionClosedException()]);
86 86
             }
Please login to merge, or discard this patch.
src/Connection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
         $this->stream = $stream;
69 69
         $this->isConnecting = false;
70 70
 
71
-        $stream->on('data', function ($chunk) {
71
+        $stream->on('data', function($chunk) {
72 72
             $this->emit('data', [$chunk]);
73 73
         });
74 74
 
Please login to merge, or discard this patch.