@@ -37,7 +37,7 @@  | 
                                                    ||
| 37 | 37 | $this->container->singleton(ServerRequestInterface::class, $request);  | 
                                                        
| 38 | 38 | |
| 39 | 39 |          if (isset($callables[$index + 1])) { | 
                                                        
| 40 | -            $this->container->closure('$next', function (ServerRequestInterface $request) use ($callables, $index) { | 
                                                        |
| 40 | +            $this->container->closure('$next', function(ServerRequestInterface $request) use ($callables, $index) { | 
                                                        |
| 41 | 41 | return $this->stack($callables, $request, $index + 1);  | 
                                                        
| 42 | 42 | });  | 
                                                        
| 43 | 43 |          } else { | 
                                                        
@@ -51,7 +51,7 @@ discard block  | 
                                                    ||
| 51 | 51 | */  | 
                                                        
| 52 | 52 | private function pruneRouteParameters(array $parameters): array  | 
                                                        
| 53 | 53 |      { | 
                                                        
| 54 | -        return array_filter($parameters, function ($value, $name) { | 
                                                        |
| 54 | +        return array_filter($parameters, function($value, $name) { | 
                                                        |
| 55 | 55 | return is_numeric($name) === false;  | 
                                                        
| 56 | 56 | }, ARRAY_FILTER_USE_BOTH);  | 
                                                        
| 57 | 57 | }  | 
                                                        
@@ -108,7 +108,7 @@ discard block  | 
                                                    ||
| 108 | 108 | */  | 
                                                        
| 109 | 109 | private function regexUri(string $path, array $patterns): string  | 
                                                        
| 110 | 110 |      { | 
                                                        
| 111 | -        return preg_replace_callback('@{([^}]+)}@', function (array $match) use ($patterns) { | 
                                                        |
| 111 | +        return preg_replace_callback('@{([^}]+)}@', function(array $match) use ($patterns) { | 
                                                        |
| 112 | 112 | return $this->regexParameter($match[1], $patterns);  | 
                                                        
| 113 | 113 | }, $path);  | 
                                                        
| 114 | 114 | }  | 
                                                        
@@ -80,7 +80,7 @@  | 
                                                    ||
| 80 | 80 | */  | 
                                                        
| 81 | 81 | public function setupView(string $directory): void  | 
                                                        
| 82 | 82 |      { | 
                                                        
| 83 | -        $this->container->singleton(View::class, function () use ($directory) { | 
                                                        |
| 83 | +        $this->container->singleton(View::class, function() use ($directory) { | 
                                                        |
| 84 | 84 | return new PhpView($directory);  | 
                                                        
| 85 | 85 | });  | 
                                                        
| 86 | 86 | }  |