@@ -119,12 +119,12 @@ |
||
| 119 | 119 | } |
| 120 | 120 | // match |
| 121 | 121 | foreach (array_unique( |
| 122 | - /** @scrutinizer ignore-type */ |
|
| 123 | - preg_split( |
|
| 124 | - '~\\\\.(*SKIP)(*FAIL)|,~', |
|
| 125 | - $matches[2] |
|
| 126 | - ) |
|
| 127 | - ) as $segment) { |
|
| 122 | + /** @scrutinizer ignore-type */ |
|
| 123 | + preg_split( |
|
| 124 | + '~\\\\.(*SKIP)(*FAIL)|,~', |
|
| 125 | + $matches[2] |
|
| 126 | + ) |
|
| 127 | + ) as $segment) { |
|
| 128 | 128 | $permutation = $matches[1] . $segment . $matches[3]; |
| 129 | 129 | in_array($permutation, $stack, true) || $stack[] = $permutation; |
| 130 | 130 | } |