Completed
Push — master ( 9e523e...7fc7d9 )
by Anderson
02:05
created
src/Core/Route.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -569,7 +569,7 @@  discard block
 block discarded – undo
569 569
             $customRegex = FALSE;
570 570
             foreach ($replaces as $regex => $replace)
571 571
             {
572
-                if($customRegex)
572
+                if ($customRegex)
573 573
                     continue;
574 574
 
575 575
                 $matches = [];
@@ -582,7 +582,7 @@  discard block
 block discarded – undo
582 582
                 $c = 0;
583 583
                 $segment = preg_replace('/'.$regex.'/', $replace, $segment, 1, $c);
584 584
 
585
-                if( $regex == array_keys($replaces)[0] && $c > 0)
585
+                if ($regex == array_keys($replaces)[0] && $c > 0)
586 586
                     $customRegex = TRUE;
587 587
             }
588 588
         }
@@ -1015,7 +1015,7 @@  discard block
 block discarded – undo
1015 1015
                             {
1016 1016
                                 for ($i = 0; $i < count($e_findPath); $i++)
1017 1017
                                 {
1018
-                                    if(in_array($i, $skip_seg))
1018
+                                    if (in_array($i, $skip_seg))
1019 1019
                                         continue;
1020 1020
 
1021 1021
                                     if ($valid)
Please login to merge, or discard this patch.