@@ -569,7 +569,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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) |