Passed
Push — master ( 1a23d8...36a2b2 )
by Hannes
01:53
created
src/Runtime/Middleware/Pipeline.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace inroutephp\inroute\Runtime\Middleware;
6 6
 
@@ -19,13 +19,13 @@  discard block
 block discarded – undo
19 19
 
20 20
     public function __construct(MiddlewareInterface ...$middlewares)
21 21
     {
22
-        $this->handler = new CallbackHandler(function () {
22
+        $this->handler = new CallbackHandler(function() {
23 23
             throw new DispatchException('unresolved request: middleware stack exhausted with no result');
24 24
         });
25 25
 
26 26
         foreach (array_reverse($middlewares) as $middleware) {
27 27
             $inner = $this->handler;
28
-            $this->handler = new CallbackHandler(function (ServerRequestInterface $request) use ($middleware, $inner) {
28
+            $this->handler = new CallbackHandler(function(ServerRequestInterface $request) use ($middleware, $inner) {
29 29
                 return $middleware->process($request, $inner);
30 30
             });
31 31
         }
Please login to merge, or discard this patch.
src/Runtime/Middleware/DispatchingMiddleware.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace inroutephp\inroute\Runtime\Middleware;
6 6
 
Please login to merge, or discard this patch.
src/Runtime/Middleware/CallbackHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace inroutephp\inroute\Runtime\Middleware;
6 6
 
Please login to merge, or discard this patch.
src/Runtime/Exception/DispatchException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace inroutephp\inroute\Runtime\Exception;
6 6
 
Please login to merge, or discard this patch.