Completed
Push — master ( b72795...847518 )
by Ivannis Suárez
02:24
created
Promise/ThenResolver.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -66,11 +66,11 @@
 block discarded – undo
66 66
     {
67 67
         $value = $this->callResolveCallback($value);
68 68
         if ($value instanceof PromiseInterface) {
69
-            $value->done(function ($actual) {
69
+            $value->done(function($actual) {
70 70
                 $this->deferred->resolve($actual);
71
-            }, function ($reason) {
71
+            }, function($reason) {
72 72
                 $this->deferred->reject($reason);
73
-            }, function ($state) {
73
+            }, function($state) {
74 74
                 $this->deferred->notify($state);
75 75
             });
76 76
         } else {
Please login to merge, or discard this patch.
Promise/ThenablePromisor.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,11 +28,11 @@
 block discarded – undo
28 28
      */
29 29
     public function __construct(ThenableInterface $thenable)
30 30
     {
31
-        $thenable->then(function ($value) {
31
+        $thenable->then(function($value) {
32 32
             $this->deferred()->resolve($value);
33
-        }, function ($reason) {
33
+        }, function($reason) {
34 34
             $this->deferred()->reject($reason);
35
-        }, function ($state) {
35
+        }, function($state) {
36 36
             $this->deferred()->notify($state);
37 37
         });
38 38
     }
Please login to merge, or discard this patch.