@@ -8,7 +8,7 @@ |
||
| 8 | 8 | * file that was distributed with this source code. |
| 9 | 9 | */ |
| 10 | 10 | |
| 11 | -declare(strict_types = 1); |
|
| 11 | +declare(strict_types=1); |
|
| 12 | 12 | |
| 13 | 13 | namespace PHPinnacle\Ensign\Resolver; |
| 14 | 14 | |
@@ -8,7 +8,7 @@ discard block |
||
| 8 | 8 | * file that was distributed with this source code. |
| 9 | 9 | */ |
| 10 | 10 | |
| 11 | -declare(strict_types = 1); |
|
| 11 | +declare(strict_types=1); |
|
| 12 | 12 | |
| 13 | 13 | use PHPinnacle\Ensign\Dispatcher; |
| 14 | 14 | use PHPinnacle\Ensign\Task; |
@@ -56,7 +56,7 @@ discard block |
||
| 56 | 56 | continue; |
| 57 | 57 | } |
| 58 | 58 | |
| 59 | - $handler = static function (string $watcherId, int $sigNo, $sigInfo = null) use ($dispatcher, $signal) { |
|
| 59 | + $handler = static function(string $watcherId, int $sigNo, $sigInfo = null) use ($dispatcher, $signal) { |
|
| 60 | 60 | yield $dispatcher->dispatch($signal, $sigNo, $sigInfo, $watcherId); |
| 61 | 61 | }; |
| 62 | 62 | |
@@ -8,7 +8,7 @@ discard block |
||
| 8 | 8 | * file that was distributed with this source code. |
| 9 | 9 | */ |
| 10 | 10 | |
| 11 | -declare(strict_types = 1); |
|
| 11 | +declare(strict_types=1); |
|
| 12 | 12 | |
| 13 | 13 | namespace PHPinnacle\Ensign; |
| 14 | 14 | |
@@ -75,7 +75,7 @@ discard block |
||
| 75 | 75 | $deferred = new Deferred; |
| 76 | 76 | $resolved = false; |
| 77 | 77 | |
| 78 | - $watcher = Loop::delay($timeout, function () use ($deferred, &$resolved) { |
|
| 78 | + $watcher = Loop::delay($timeout, function() use ($deferred, &$resolved) { |
|
| 79 | 79 | if ($resolved) { |
| 80 | 80 | return; |
| 81 | 81 | } |
@@ -86,7 +86,7 @@ discard block |
||
| 86 | 86 | }); |
| 87 | 87 | |
| 88 | 88 | $promise = $this->promise; |
| 89 | - $promise->onResolve(function () use ($deferred, $watcher, &$resolved) { |
|
| 89 | + $promise->onResolve(function() use ($deferred, $watcher, &$resolved) { |
|
| 90 | 90 | if ($resolved) { |
| 91 | 91 | return; |
| 92 | 92 | } |