@@ -42,7 +42,7 @@ discard block  | 
                                                    ||
| 42 | 42 | */  | 
                                                        
| 43 | 43 | public static function middleware(array $stack)  | 
                                                        
| 44 | 44 |      { | 
                                                        
| 45 | -        return array_map(function ($callable) { | 
                                                        |
| 45 | +        return array_map(function($callable) { | 
                                                        |
| 46 | 46 | $callable = is_string($callable) ? static::lazy($callable) : $callable;  | 
                                                        
| 47 | 47 | return $callable;  | 
                                                        
| 48 | 48 | }, $stack);  | 
                                                        
@@ -57,7 +57,7 @@ discard block  | 
                                                    ||
| 57 | 57 | */  | 
                                                        
| 58 | 58 | public static function lazy($className)  | 
                                                        
| 59 | 59 |      { | 
                                                        
| 60 | -        return function (ServerRequestInterface $request, $next) use ($className) { | 
                                                        |
| 60 | +        return function(ServerRequestInterface $request, $next) use ($className) { | 
                                                        |
| 61 | 61 | $class = new $className();  | 
                                                        
| 62 | 62 |              if ($class instanceof MiddlewareInterface) { | 
                                                        
| 63 | 63 | return $class->process($request, $next);  | 
                                                        
@@ -75,7 +75,7 @@ discard block  | 
                                                    ||
| 75 | 75 | public static function router(ServerRequestInterface $request, $path = null)  | 
                                                        
| 76 | 76 |      { | 
                                                        
| 77 | 77 | $path = $path ?: __DIR__ . "/../app/routes.php";  | 
                                                        
| 78 | -        $dispatcher = \FastRoute\simpleDispatcher(function (RouteCollector $r) use ($path) { | 
                                                        |
| 78 | +        $dispatcher = \FastRoute\simpleDispatcher(function(RouteCollector $r) use ($path) { | 
                                                        |
| 79 | 79 | include $path;  | 
                                                        
| 80 | 80 | });  | 
                                                        
| 81 | 81 | $match = $dispatcher->dispatch($request->getMethod(), $request->getUri()->getPath());  |