@@ -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\Wrapper; |
| 14 | 14 | |
@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | } |
| 51 | 51 | } |
| 52 | 52 | |
| 53 | - return function (...$arguments) use ($handler, $resolved) { |
|
| 53 | + return function(...$arguments) use ($handler, $resolved) { |
|
| 54 | 54 | return $handler(...array_replace($arguments, $resolved)); |
| 55 | 55 | }; |
| 56 | 56 | } |
@@ -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 | |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | */ |
| 50 | 50 | public function get(string $signal): callable |
| 51 | 51 | { |
| 52 | - return $this->handlers[$signal] ?? static function () use ($signal) { |
|
| 52 | + return $this->handlers[$signal] ?? static function() use ($signal) { |
|
| 53 | 53 | throw new Exception\UnknownSignal($signal); |
| 54 | 54 | }; |
| 55 | 55 | } |
@@ -7,7 +7,7 @@ |
||
| 7 | 7 | * file that was distributed with this source code. |
| 8 | 8 | */ |
| 9 | 9 | |
| 10 | -declare(strict_types = 1); |
|
| 10 | +declare(strict_types=1); |
|
| 11 | 11 | |
| 12 | 12 | namespace PHPinnacle\Ensign; |
| 13 | 13 | |
@@ -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 | |
@@ -55,11 +55,11 @@ discard block |
||
| 55 | 55 | $registry = new HandlerRegistry; |
| 56 | 56 | |
| 57 | 57 | foreach ($this->handlers as $signal => $handlers) { |
| 58 | - $handlers = \array_map(function (callable $handler) { |
|
| 58 | + $handlers = \array_map(function(callable $handler) { |
|
| 59 | 59 | return $this->factory->create($handler); |
| 60 | 60 | }, $handlers); |
| 61 | 61 | |
| 62 | - $registry->add($signal, static function (...$arguments) use ($handlers) { |
|
| 62 | + $registry->add($signal, static function(...$arguments) use ($handlers) { |
|
| 63 | 63 | $promises = []; |
| 64 | 64 | |
| 65 | 65 | foreach ($handlers as $handler) { |
@@ -7,7 +7,7 @@ |
||
| 7 | 7 | * file that was distributed with this source code. |
| 8 | 8 | */ |
| 9 | 9 | |
| 10 | -declare(strict_types = 1); |
|
| 10 | +declare(strict_types=1); |
|
| 11 | 11 | |
| 12 | 12 | namespace PHPinnacle\Ensign; |
| 13 | 13 | |