Passed
Pull Request — master (#42)
by Stéphane
02:14
created
src/Promise.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
             /**
73 73
              * @param ResponseInterface|null $response
74 74
              */
75
-            function (?ResponseInterface $response): ResponseInterface {
75
+            function(?ResponseInterface $response): ResponseInterface {
76 76
                 $this->response = $response;
77 77
                 $this->state = self::FULFILLED;
78 78
 
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
             /**
82 82
              * @param mixed $reason
83 83
              */
84
-            function ($reason): void {
84
+            function($reason): void {
85 85
                 $this->state = self::REJECTED;
86 86
 
87 87
                 if ($reason instanceof HttplugException) {
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
     {
119 119
         $loop = $this->loop;
120 120
         while (HttpPromise::PENDING === $this->getState()) {
121
-            $loop->futureTick(function () use ($loop) {
121
+            $loop->futureTick(function() use ($loop) {
122 122
                 $loop->stop();
123 123
             });
124 124
             $loop->run();
Please login to merge, or discard this patch.
src/Client.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
             );
44 44
         }
45 45
 
46
-        $this->loop = $loop     ?: ReactFactory::buildEventLoop();
46
+        $this->loop = $loop ?: ReactFactory::buildEventLoop();
47 47
         $this->client = $client ?: ReactFactory::buildHttpClient($this->loop);
48 48
     }
49 49
 
Please login to merge, or discard this patch.