@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | /** |
51 | 51 | * @param class-string|MiddlewareInterface $item |
52 | 52 | */ |
53 | - private static function reduceMiddleware(RequestHandlerInterface $carry, string|MiddlewareInterface $item): RequestHandlerInterface |
|
53 | + private static function reduceMiddleware(RequestHandlerInterface $carry, string | MiddlewareInterface $item): RequestHandlerInterface |
|
54 | 54 | { |
55 | 55 | return new readonly class (carry: $carry, item: $item) implements RequestHandlerInterface { |
56 | 56 | /** |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | */ |
59 | 59 | public function __construct( |
60 | 60 | private RequestHandlerInterface $carry, |
61 | - private string|MiddlewareInterface $item, |
|
61 | + private string | MiddlewareInterface $item, |
|
62 | 62 | ) { |
63 | 63 | } |
64 | 64 |
@@ -52,7 +52,8 @@ |
||
52 | 52 | */ |
53 | 53 | private static function reduceMiddleware(RequestHandlerInterface $carry, string|MiddlewareInterface $item): RequestHandlerInterface |
54 | 54 | { |
55 | - return new readonly class (carry: $carry, item: $item) implements RequestHandlerInterface { |
|
55 | + return new readonly class (carry: $carry, item: $item) implements RequestHandlerInterface |
|
56 | + { |
|
56 | 57 | /** |
57 | 58 | * @param class-string|MiddlewareInterface $item |
58 | 59 | */ |