@@ -221,7 +221,7 @@ discard block |
||
| 221 | 221 | return $this->dispatcher; |
| 222 | 222 | } |
| 223 | 223 | |
| 224 | - $routeDefinitionCallback = function (RouteCollector $r) { |
|
| 224 | + $routeDefinitionCallback = function(RouteCollector $r) { |
|
| 225 | 225 | foreach ($this->getRoutes() as $route) { |
| 226 | 226 | $r->addRoute($route->getMethods(), $route->getPattern(), $route->getIdentifier()); |
| 227 | 227 | } |
@@ -272,7 +272,7 @@ discard block |
||
| 272 | 272 | */ |
| 273 | 273 | public function getNamedRoute($name) |
| 274 | 274 | { |
| 275 | - $routes = array_filter($this->routes, function ($route) use ($name) { |
|
| 275 | + $routes = array_filter($this->routes, function($route) use ($name) { |
|
| 276 | 276 | return $name === $route->getName(); |
| 277 | 277 | }); |
| 278 | 278 | |