@@ -21,9 +21,9 @@ discard block |
||
| 21 | 21 | { |
| 22 | 22 | $path = $this->laravel['modules']->getModulePath($this->getModuleName()); |
| 23 | 23 | |
| 24 | - $filePath = GenerateConfigReader::read('scopes')->getPath() ?? config('modules.paths.generator.model.path') . '/Scopes'; |
|
| 24 | + $filePath = GenerateConfigReader::read('scopes')->getPath() ?? config('modules.paths.generator.model.path').'/Scopes'; |
|
| 25 | 25 | |
| 26 | - return $path . $filePath . '/' . $this->getScopeName() . '.php'; |
|
| 26 | + return $path.$filePath.'/'.$this->getScopeName().'.php'; |
|
| 27 | 27 | } |
| 28 | 28 | |
| 29 | 29 | protected function getTemplateContents(): string |
@@ -54,12 +54,12 @@ discard block |
||
| 54 | 54 | ]; |
| 55 | 55 | } |
| 56 | 56 | |
| 57 | - protected function getScopeName(): array|string |
|
| 57 | + protected function getScopeName(): array | string |
|
| 58 | 58 | { |
| 59 | 59 | return Str::studly($this->argument('name')); |
| 60 | 60 | } |
| 61 | 61 | |
| 62 | - private function getClassNameWithoutNamespace(): array|string |
|
| 62 | + private function getClassNameWithoutNamespace(): array | string |
|
| 63 | 63 | { |
| 64 | 64 | return class_basename($this->getScopeName()); |
| 65 | 65 | } |