@@ -42,7 +42,7 @@ |
||
| 42 | 42 | $parts = explode('#', $input); |
| 43 | 43 | array_walk( |
| 44 | 44 | $parts, |
| 45 | - function (&$value) { |
|
| 45 | + function(&$value) { |
|
| 46 | 46 | $value = ucfirst(strtolower($value)); |
| 47 | 47 | } |
| 48 | 48 | ); |
@@ -50,7 +50,7 @@ |
||
| 50 | 50 | $this->result = $routeResult; |
| 51 | 51 | $this->applicationPath = $environmentManager->getSelectedApplicationUri(); |
| 52 | 52 | $this->adapter = \FastRoute\simpleDispatcher( |
| 53 | - function (RouteCollector $routeCollector) use ($routes) { |
|
| 53 | + function(RouteCollector $routeCollector) use ($routes) { |
|
| 54 | 54 | foreach ($routes as $route) { |
| 55 | 55 | $method = $route['allowed_methods']; |
| 56 | 56 | $uri = $route['path']; |