@@ -22,7 +22,7 @@ discard block |
||
22 | 22 | |
23 | 23 | $servicePath = GenerateConfigReader::read('service'); |
24 | 24 | |
25 | - return $path . $servicePath->getPath() . '/' . $this->getServiceName() . '.php'; |
|
25 | + return $path.$servicePath->getPath().'/'.$this->getServiceName().'.php'; |
|
26 | 26 | } |
27 | 27 | |
28 | 28 | protected function getTemplateContents(): string |
@@ -43,12 +43,12 @@ discard block |
||
43 | 43 | ]; |
44 | 44 | } |
45 | 45 | |
46 | - protected function getServiceName(): array|string |
|
46 | + protected function getServiceName(): array | string |
|
47 | 47 | { |
48 | 48 | return Str::studly($this->argument('name')); |
49 | 49 | } |
50 | 50 | |
51 | - private function getClassNameWithoutNamespace(): array|string |
|
51 | + private function getClassNameWithoutNamespace(): array | string |
|
52 | 52 | { |
53 | 53 | return class_basename($this->getServiceName()); |
54 | 54 | } |