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