| @@ 390-392 (lines=3) @@ | ||
| 387 | protected function sortPaths($pathList) |
|
| 388 | { |
|
| 389 | usort($pathList, function ($left, $right) { |
|
| 390 | if (strpos($left, '{') === false && strpos($right, '{') !== false) { |
|
| 391 | return -16384; |
|
| 392 | } |
|
| 393 | if (strpos($left, '{') !== false && strpos($right, '{') === false) { |
|
| 394 | return 16384; |
|
| 395 | } |
|
| @@ 393-395 (lines=3) @@ | ||
| 390 | if (strpos($left, '{') === false && strpos($right, '{') !== false) { |
|
| 391 | return -16384; |
|
| 392 | } |
|
| 393 | if (strpos($left, '{') !== false && strpos($right, '{') === false) { |
|
| 394 | return 16384; |
|
| 395 | } |
|
| 396 | if (strpos($left, $right) !== false) { |
|
| 397 | return -16384; |
|
| 398 | } |
|