Completed
Push — master ( 9e09cc...db39e9 )
by Josh
01:48
created
Category
src/AllocationPromise.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
         $args = array_slice(func_get_args(), 1);
43 43
 
44 44
         return $this->then(
45
-            function (Allocation $allocation) use ($handler, $args) {
45
+            function(Allocation $allocation) use ($handler, $args) {
46 46
                 try {
47 47
                     $result = call_user_func_array($handler, $args);
48 48
                     $result = \React\Promise\resolve($result);
@@ -89,10 +89,10 @@  discard block
 block discarded – undo
89 89
         $result = null;
90 90
         
91 91
         $this->promise->then(
92
-            function ($allocation) use (&$result) {
92
+            function($allocation) use (&$result) {
93 93
                 $result = $allocation;
94 94
             },
95
-            function ($error) use (&$result) {
95
+            function($error) use (&$result) {
96 96
                 $result = $error;
97 97
             }
98 98
         );
Please login to merge, or discard this patch.
src/PoolInternal.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -152,7 +152,7 @@
 block discarded – undo
152 152
     {
153 153
         $that = $this;
154 154
         
155
-        return function ($burst) use (&$isResolved, $that, $count, $deferred) {
155
+        return function($burst) use (&$isResolved, $that, $count, $deferred) {
156 156
             if ($isResolved) {
157 157
                 throw new \LogicException;
158 158
             }
Please login to merge, or discard this patch.