Passed
Push — master ( 569ade...6b5f69 )
by Aleksei
06:23 queued 17s
created
src/Interceptors/tests/Unit/Handler/AutowireHandlerTest.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
     public function createHandler(array $definitions = []): AutowireHandler
109 109
     {
110 110
         $container = new Container();
111
-        foreach ($definitions as $id => $definition) {
111
+        foreach ($definitions as $id => $definition){
112 112
             $container->bind($id, $definition);
113 113
         }
114 114
 
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,8 @@
 block discarded – undo
108 108
     public function createHandler(array $definitions = []): AutowireHandler
109 109
     {
110 110
         $container = new Container();
111
-        foreach ($definitions as $id => $definition) {
111
+        foreach ($definitions as $id => $definition)
112
+        {
112 113
             $container->bind($id, $definition);
113 114
         }
114 115
 
Please login to merge, or discard this patch.
src/Interceptors/src/PipelineBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Hmvc/src/CompatiblePipelineBuilder.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,17 +28,17 @@
 block discarded – undo
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
Please login to merge, or discard this patch.