Passed
Branch master (fcf200)
by Nícollas
01:54
created
src/Router/Middlewares/MiddlewareCollection.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
     {
126 126
         $middlewares = $this->middlewares;
127 127
 
128
-        if(is_string($middlewares)) {
128
+        if (is_string($middlewares)) {
129 129
             $middlewares = explode(',', $middlewares);
130 130
         }
131 131
 
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
      */
145 145
     protected function resolveNestedMiddleware(Array $middlewares): void
146 146
     {
147
-        $this->queue = array_map(function ($middleware) {
147
+        $this->queue = array_map(function($middleware) {
148 148
             $middleware = trim(rtrim($middleware));
149 149
 
150 150
             return $this->instanceMiddleware($middleware);
@@ -241,7 +241,7 @@  discard block
 block discarded – undo
241 241
 
242 242
         return $currentMiddleware->handle(
243 243
             $this->currentRequest,
244
-            fn () => $this->next()
244
+            fn() => $this->next()
245 245
         );
246 246
     }
247 247
 }
Please login to merge, or discard this patch.