@@ -27,9 +27,9 @@ |
||
| 27 | 27 | usort( |
| 28 | 28 | $array, |
| 29 | 29 | /** @return int */ |
| 30 | - static function (SplFileInfo $a, SplFileInfo $b) { |
|
| 30 | + static function(SplFileInfo $a, SplFileInfo $b) { |
|
| 31 | 31 | $pathA = str_replace('\\', '/', $a->getPathname()); |
| 32 | - $pathB = str_replace('\\', '/', $b->getPathname()); $cntA = count(explode('/', $pathA)); |
|
| 32 | + $pathB = str_replace('\\', '/', $b->getPathname()); $cntA = count(explode('/', $pathA)); |
|
| 33 | 33 | $cntB = count(explode('/', $pathB)); |
| 34 | 34 | if ($cntA !== $cntB) { |
| 35 | 35 | return $cntA > $cntB ? 1 : -1; |