@@ -240,8 +240,9 @@ |
||
| 240 | 240 | public static function getModule($moduleName, $className) |
| 241 | 241 | { |
| 242 | 242 | $namespace = static::getModuleNamespace($moduleName, $className); |
| 243 | - if (!is_dir) |
|
| 244 | - dump(['namespace' => $namespace]); |
|
| 243 | + if (!is_dir) { |
|
| 244 | + dump(['namespace' => $namespace]); |
|
| 245 | + } |
|
| 245 | 246 | |
| 246 | 247 | return new $namespace(); |
| 247 | 248 | } |