Passed
Push — main ( 08b85f...04f195 )
by Greg
06:40
created
app/Http/Dispatcher.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,8 @@
 block discarded – undo
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
              */
Please login to merge, or discard this patch.