@@ -188,7 +188,7 @@ discard block |
||
| 188 | 188 | return $this->dispatcher; |
| 189 | 189 | } |
| 190 | 190 | |
| 191 | - $routeDefinitionCallback = function (RouteCollector $r) { |
|
| 191 | + $routeDefinitionCallback = function(RouteCollector $r) { |
|
| 192 | 192 | foreach ($this->getRoutes() as $route) { |
| 193 | 193 | $r->addRoute($route->getMethods(), $route->getPattern(), $route->getIdentifier()); |
| 194 | 194 | } |
@@ -238,7 +238,7 @@ discard block |
||
| 238 | 238 | throw new \InvalidArgumentException("Tag must be a string"); |
| 239 | 239 | } |
| 240 | 240 | |
| 241 | - $routes = array_filter($this->routes, function ($route) use ($tag) { |
|
| 241 | + $routes = array_filter($this->routes, function($route) use ($tag) { |
|
| 242 | 242 | return $route->hasTag($tag); |
| 243 | 243 | }); |
| 244 | 244 | |