| @@ -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; | 
| @@ -42,11 +42,11 @@ | ||
| 42 | 42 |              $file = str_replace('\\', '/', $item->getPathname()); | 
| 43 | 43 |              $namePath = str_replace('/', '\\', substr(substr($file, strlen($path) + 1), 0, -4)); | 
| 44 | 44 | $class = $prefix . '\\' . $namePath; | 
| 45 | -            if (! class_exists($class) && ! interface_exists($class)) { | |
| 45 | +            if ( ! class_exists($class) && ! interface_exists($class)) { | |
| 46 | 46 | continue; | 
| 47 | 47 | } | 
| 48 | 48 | |
| 49 | - yield [$class, $file]; | |
| 49 | + yield [ $class, $file ]; | |
| 50 | 50 | } | 
| 51 | 51 | } | 
| 52 | 52 | |