@@ -68,7 +68,7 @@ |
||
| 68 | 68 | |
| 69 | 69 | private function routeExists(string $path): bool |
| 70 | 70 | { |
| 71 | - return !empty(array_filter((array)$this->routeCollection->getIterator(), function($routeObject) use ($path) { |
|
| 71 | + return !empty(array_filter((array) $this->routeCollection->getIterator(), function($routeObject) use ($path) { |
|
| 72 | 72 | return $routeObject->getPath() === "/{" . $this->localeRouteParam . "}" . $path; |
| 73 | 73 | })); |
| 74 | 74 | } |