@@ -103,7 +103,7 @@ discard block |
||
103 | 103 | |
104 | 104 | $this->chain = new SplStack(); |
105 | 105 | |
106 | - ($this->ender = Promise::deferred())->catch(function (...$args) { |
|
106 | + ($this->ender = Promise::deferred())->catch(function(...$args) { |
|
107 | 107 | $this->killed(...$args); |
108 | 108 | }); |
109 | 109 | |
@@ -224,9 +224,9 @@ discard block |
||
224 | 224 | { |
225 | 225 | $this->sleep = $await; |
226 | 226 | |
227 | - $await->then(function ($r = null) { |
|
227 | + $await->then(function($r = null) { |
|
228 | 228 | $this->wakeup($r); |
229 | - }, function (Throwable $e = null) { |
|
229 | + }, function(Throwable $e = null) { |
|
230 | 230 | $this->wakeup($e ?? new RejectedException()); |
231 | 231 | }); |
232 | 232 |