Completed
Push — master ( 542898...3b4c29 )
by Maxime
01:45
created
src/RouterContainer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
 
71 71
         if (!empty($route->getWhere())) {
72 72
             foreach ($route->getWhere() as $attribute => $where) {
73
-                $path = preg_replace('#{('.$attribute.')}#', '('.$where.')', $path);
73
+                $path = preg_replace('#{(' . $attribute . ')}#', '(' . $where . ')', $path);
74 74
             }
75 75
         }
76 76
         $path = preg_replace("#{([\w]+)}#", '([^/]+)', $path);
Please login to merge, or discard this patch.