@@ -49,7 +49,7 @@ |
||
| 49 | 49 | { |
| 50 | 50 | $path = $this->laravel['modules']->getModulePath($this->getModuleName()); |
| 51 | 51 | $config = GenerateConfigReader::read('class'); |
| 52 | - $path .= $this->typePath($config->getPath()) . '/' . $this->getFileName() . '.php'; |
|
| 52 | + $path .= $this->typePath($config->getPath()).'/'.$this->getFileName().'.php'; |
|
| 53 | 53 | |
| 54 | 54 | return $path; |
| 55 | 55 | } |
@@ -43,7 +43,7 @@ discard block |
||
| 43 | 43 | $contents = $this->getTemplateContents(); |
| 44 | 44 | |
| 45 | 45 | try { |
| 46 | - $this->components->task("Generating file {$path}", function () use ($path, $contents) { |
|
| 46 | + $this->components->task("Generating file {$path}", function() use ($path, $contents) { |
|
| 47 | 47 | $overwriteFile = $this->hasOption('force') ? $this->option('force') : false; |
| 48 | 48 | (new FileGenerator($path, $contents))->withFileOverwrite($overwriteFile)->generate(); |
| 49 | 49 | }); |
@@ -92,11 +92,11 @@ discard block |
||
| 92 | 92 | |
| 93 | 93 | $namespace = $this->laravel['modules']->config('namespace'); |
| 94 | 94 | |
| 95 | - $namespace .= '\\' . $module->getStudlyName(); |
|
| 95 | + $namespace .= '\\'.$module->getStudlyName(); |
|
| 96 | 96 | |
| 97 | - $namespace .= '\\' . $this->getDefaultNamespace(); |
|
| 97 | + $namespace .= '\\'.$this->getDefaultNamespace(); |
|
| 98 | 98 | |
| 99 | - $namespace .= $extra ? '\\' . $extra : ''; |
|
| 99 | + $namespace .= $extra ? '\\'.$extra : ''; |
|
| 100 | 100 | |
| 101 | 101 | $namespace = str_replace('/', '\\', $namespace); |
| 102 | 102 | |