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