| @@ 408-410 (lines=3) @@ | ||
| 405 | protected function sortPaths($pathList) |
|
| 406 | { |
|
| 407 | usort($pathList, function ($left, $right) { |
|
| 408 | if (strpos($left, '{') === false && strpos($right, '{') !== false) { |
|
| 409 | return -16384; |
|
| 410 | } |
|
| 411 | if (strpos($left, '{') !== false && strpos($right, '{') === false) { |
|
| 412 | return 16384; |
|
| 413 | } |
|
| @@ 411-413 (lines=3) @@ | ||
| 408 | if (strpos($left, '{') === false && strpos($right, '{') !== false) { |
|
| 409 | return -16384; |
|
| 410 | } |
|
| 411 | if (strpos($left, '{') !== false && strpos($right, '{') === false) { |
|
| 412 | return 16384; |
|
| 413 | } |
|
| 414 | if (strpos($left, $right) !== false) { |
|
| 415 | return -16384; |
|
| 416 | } |
|