@@ -46,11 +46,11 @@ |
||
| 46 | 46 | $file = $item->getPathname(); |
| 47 | 47 | $namePath = str_replace('/', '\\', substr(substr($file, strlen($path) + 1), 0, -4)); |
| 48 | 48 | $class = $prefix . '\\' . $namePath; |
| 49 | - if (! class_exists($class) && ! interface_exists($class)) { |
|
| 49 | + if ( ! class_exists($class) && ! interface_exists($class)) { |
|
| 50 | 50 | continue; |
| 51 | 51 | } |
| 52 | 52 | |
| 53 | - yield [$class, $file]; |
|
| 53 | + yield [ $class, $file ]; |
|
| 54 | 54 | } |
| 55 | 55 | } |
| 56 | 56 | |
@@ -35,7 +35,7 @@ |
||
| 35 | 35 | /** |
| 36 | 36 | * @return int |
| 37 | 37 | */ |
| 38 | - static function (SplFileInfo $a, SplFileInfo $b) { |
|
| 38 | + static function(SplFileInfo $a, SplFileInfo $b) { |
|
| 39 | 39 | $pathA = $a->getPathname(); |
| 40 | 40 | $pathB = $b->getPathname(); |
| 41 | 41 | $cntA = count(explode('/', $pathA)); |