@@ -42,7 +42,7 @@ discard block |
||
| 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 |
||
| 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 | ); |
@@ -152,7 +152,7 @@ |
||
| 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 | } |