@@ -85,6 +85,9 @@ |
||
| 85 | 85 | return new ArrayIterator($matchers); |
| 86 | 86 | } |
| 87 | 87 | |
| 88 | + /** |
|
| 89 | + * @param string $namespace |
|
| 90 | + */ |
|
| 88 | 91 | private function normalizeNamespace($namespace) |
| 89 | 92 | { |
| 90 | 93 | $normalizeNamespace = $namespace; |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | private function getClassFullNameFromFile(SplFileInfo $file) |
| 74 | 74 | { |
| 75 | 75 | $targets = [ |
| 76 | - realpath($this->namespaceDirectory).'/', |
|
| 76 | + realpath($this->namespaceDirectory) . '/', |
|
| 77 | 77 | '.php', |
| 78 | 78 | ]; |
| 79 | 79 | |
@@ -82,7 +82,7 @@ discard block |
||
| 82 | 82 | $className = str_replace($targets, $replaceValues, realpath($file->getPathname())); |
| 83 | 83 | $className = str_replace('/', "\\", $className); |
| 84 | 84 | |
| 85 | - return $this->namespace."\\".$className; |
|
| 85 | + return $this->namespace . "\\" . $className; |
|
| 86 | 86 | } |
| 87 | 87 | |
| 88 | 88 | /** |