Completed
Push — master ( 16e7ab...7013b1 )
by Stéphane
22s queued 11s
created
src/Promise.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
         $this->request = $request;
70 70
         $this->loop = $loop;
71 71
         $this->promise = $promise->then(
72
-            function (?ResponseInterface $response): ?ResponseInterface {
72
+            function(?ResponseInterface $response): ?ResponseInterface {
73 73
                 $this->response = $response;
74 74
                 $this->state = self::FULFILLED;
75 75
 
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
             /**
79 79
              * @param mixed $reason
80 80
              */
81
-            function ($reason): void {
81
+            function($reason): void {
82 82
                 $this->state = self::REJECTED;
83 83
 
84 84
                 if ($reason instanceof HttplugException) {
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
     {
116 116
         $loop = $this->loop;
117 117
         while (HttpPromise::PENDING === $this->getState()) {
118
-            $loop->futureTick(function () use ($loop) {
118
+            $loop->futureTick(function() use ($loop) {
119 119
                 $loop->stop();
120 120
             });
121 121
             $loop->run();
Please login to merge, or discard this patch.