Completed
Pull Request — master (#1831)
by
unknown
06:55
created
src/Commands/Make/RepositoryMakeCommand.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -22,9 +22,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.