@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | $finder = new Finder(); |
| 86 | 86 | try { |
| 87 | 87 | $finder |
| 88 | - ->in($pluginBasePath.'/**') |
|
| 88 | + ->in($pluginBasePath . '/**') |
|
| 89 | 89 | ->name('*.php') |
| 90 | 90 | ->notName('*Interface.php'); |
| 91 | 91 | } catch (\Throwable $exception) { |
@@ -96,7 +96,7 @@ discard block |
||
| 96 | 96 | $relative = str_replace($pluginBasePath, '', (string) $splFileInfo); |
| 97 | 97 | $namespaceRelative = str_replace('/', '\\', $relative); |
| 98 | 98 | |
| 99 | - $file = str_replace('.php', '', $pluginNamespace.$namespaceRelative); |
|
| 99 | + $file = str_replace('.php', '', $pluginNamespace . $namespaceRelative); |
|
| 100 | 100 | |
| 101 | 101 | if (\in_array($file, $this->locatedClasses) || !class_exists($file)) { |
| 102 | 102 | continue; |