@@ -16,7 +16,7 @@ |
||
16 | 16 | |
17 | 17 | public function __construct( |
18 | 18 | ?EventDispatcherInterface $dispatcher = null |
19 | - ) { |
|
19 | + ){ |
|
20 | 20 | $this->pipeline = new InterceptorPipeline($dispatcher); |
21 | 21 | } |
22 | 22 |
@@ -28,17 +28,17 @@ |
||
28 | 28 | $this->pipeline = clone $this->pipeline; |
29 | 29 | } |
30 | 30 | |
31 | - public function withInterceptors(CoreInterceptorInterface|InterceptorInterface ...$interceptors): static |
|
31 | + public function withInterceptors(CoreInterceptorInterface | InterceptorInterface ...$interceptors): static |
|
32 | 32 | { |
33 | 33 | $clone = clone $this; |
34 | - foreach ($interceptors as $interceptor) { |
|
34 | + foreach ($interceptors as $interceptor){ |
|
35 | 35 | $clone->pipeline->addInterceptor($interceptor); |
36 | 36 | } |
37 | 37 | |
38 | 38 | return $clone; |
39 | 39 | } |
40 | 40 | |
41 | - public function build(HandlerInterface|CoreInterface $handler): InterceptorPipeline |
|
41 | + public function build(HandlerInterface | CoreInterface $handler): InterceptorPipeline |
|
42 | 42 | { |
43 | 43 | /** @psalm-suppress InvalidArgument */ |
44 | 44 | return $handler instanceof HandlerInterface |