@@ -21,9 +21,9 @@ discard block |
||
21 | 21 | { |
22 | 22 | $path = $this->laravel['modules']->getModulePath($this->getModuleName()); |
23 | 23 | |
24 | - $filePath = GenerateConfigReader::read('interfaces')->getPath() ?? config('modules.paths.app_folder') . 'Interfaces'; |
|
24 | + $filePath = GenerateConfigReader::read('interfaces')->getPath() ?? config('modules.paths.app_folder').'Interfaces'; |
|
25 | 25 | |
26 | - return $path . $filePath . '/' . $this->getInterfaceName() . '.php'; |
|
26 | + return $path.$filePath.'/'.$this->getInterfaceName().'.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 getInterfaceName(): array|string |
|
57 | + protected function getInterfaceName(): 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->getInterfaceName()); |
65 | 65 | } |