@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Werkspot\MessageBus\Message; |
6 | 6 |
@@ -14,11 +14,11 @@ |
||
14 | 14 | |
15 | 15 | public static function fromMiddlewareList(MiddlewareInterface ...$middlewareList): self |
16 | 16 | { |
17 | - $deliveryChain = function (): void { |
|
17 | + $deliveryChain = function(): void { |
|
18 | 18 | }; |
19 | 19 | |
20 | 20 | while ($middleware = array_pop($middlewareList)) { |
21 | - $deliveryChain = function (MessageInterface $message) use ($middleware, $deliveryChain): void { |
|
21 | + $deliveryChain = function(MessageInterface $message) use ($middleware, $deliveryChain): void { |
|
22 | 22 | $middleware->deliver($message, $deliveryChain); |
23 | 23 | }; |
24 | 24 | } |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Werkspot\MessageBus\Bus\DeliveryChain\Middleware\Validation; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Werkspot\MessageBus\Bus\DeliveryChain\Middleware; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Werkspot\MessageBus\Bus\DeliveryChain\Middleware; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Werkspot\MessageBus\Bus\DeliveryChain\Middleware; |
6 | 6 |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Werkspot\MessageBus\Bus\DeliveryChain\Middleware; |
6 | 6 | |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | */ |
51 | 51 | private function enqueue(MessageInterface $message, callable $next): void |
52 | 52 | { |
53 | - $this->queue[] = function () use ($message, $next): void { |
|
53 | + $this->queue[] = function() use ($message, $next): void { |
|
54 | 54 | $next($message); |
55 | 55 | }; |
56 | 56 | } |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Werkspot\MessageBus\Bus\DeliveryChain\Middleware; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Werkspot\MessageBus\Bus\DeliveryChain; |
6 | 6 |