@@ -14,7 +14,7 @@ |
||
| 14 | 14 | { |
| 15 | 15 | (new Run())->pushHandler(\ENV === 'dev' |
| 16 | 16 | ? new PrettyPageHandler() |
| 17 | - : function () { |
|
| 17 | + : function() { |
|
| 18 | 18 | $errorPagePath = $this->getErrorPagePath(); |
| 19 | 19 | if ($errorPagePath && \file_exists($errorPagePath)) { |
| 20 | 20 | echo \file_get_contents($errorPagePath); |
@@ -64,7 +64,7 @@ |
||
| 64 | 64 | */ |
| 65 | 65 | protected function configureDispatcher(): Dispatcher |
| 66 | 66 | { |
| 67 | - return \FastRoute\simpleDispatcher(function (RouteCollector $collector) { |
|
| 67 | + return \FastRoute\simpleDispatcher(function(RouteCollector $collector) { |
|
| 68 | 68 | foreach ($this->config as $route) { |
| 69 | 69 | $collector->addRoute($route[0], $route[1], $route[2]); |
| 70 | 70 | } |