Passed
Push — main ( fd1ede...501220 )
by Thomas
02:49
created
src/Routing/AddsMiddleware.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
     /** @psalm-param string|array{string, ...}|Closure|Middleware|PsrMiddleware ...$middleware */
17 17
     public function middleware(string|array|Closure|Middleware|PsrMiddleware ...$middleware): static
18 18
     {
19
-        $this->middleware = array_merge($this->middleware, array_map(function ($mw) {
19
+        $this->middleware = array_merge($this->middleware, array_map(function($mw) {
20 20
             if (is_string($mw)) {
21 21
                 return [$mw];
22 22
             }
Please login to merge, or discard this patch.
src/Router.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -234,7 +234,7 @@
 block discarded – undo
234 234
 
235 235
         return array_map(
236 236
             /** @psalm-param array{string, ...}|Closure|Middleware|PsrMiddleware $middleware */
237
-            function (
237
+            function(
238 238
                 array|Closure|Middleware|PsrMiddleware $middleware
239 239
             ) use ($registry): Middleware|PsrMiddleware {
240 240
                 if (
Please login to merge, or discard this patch.