@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | } |
| 32 | 32 | |
| 33 | 33 | $len = '' === $prefix ? 0 : strlen($prefix) + 1; |
| 34 | - $path = $dir . '/' . str_replace('\\', '.', substr($class->name, $len)) . '.' . $extension; |
|
| 34 | + $path = $dir.'/'.str_replace('\\', '.', substr($class->name, $len)).'.'.$extension; |
|
| 35 | 35 | $existsPath = file_exists($path); |
| 36 | 36 | $possibleFiles[$path] = $existsPath; |
| 37 | 37 | if ($existsPath) { |
@@ -65,13 +65,13 @@ discard block |
||
| 65 | 65 | new \RecursiveDirectoryIterator($dir), |
| 66 | 66 | \RecursiveIteratorIterator::LEAVES_ONLY |
| 67 | 67 | ); |
| 68 | - $nsPrefix = '' !== $prefix ? $prefix . '\\' : ''; |
|
| 68 | + $nsPrefix = '' !== $prefix ? $prefix.'\\' : ''; |
|
| 69 | 69 | foreach ($iterator as $file) { |
| 70 | - if (($fileName = $file->getBasename('.' . $extension)) === $file->getBasename()) { |
|
| 70 | + if (($fileName = $file->getBasename('.'.$extension)) === $file->getBasename()) { |
|
| 71 | 71 | continue; |
| 72 | 72 | } |
| 73 | 73 | |
| 74 | - $classes[] = $nsPrefix . str_replace('.', '\\', $fileName); |
|
| 74 | + $classes[] = $nsPrefix.str_replace('.', '\\', $fileName); |
|
| 75 | 75 | } |
| 76 | 76 | } |
| 77 | 77 | |