Passed
Push — main ( 77005f...076b27 )
by Michael
02:19
created
src/EventSubscriber/LocaleRewriteSubscriber.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.