Completed
Push — master ( ef6c6c...a99553 )
by
unknown
36:14 queued 26:57
created
src/Commands/Make/EnumMakeCommand.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -21,9 +21,9 @@  discard block
 block discarded – undo
21 21
     {
22 22
         $path = $this->laravel['modules']->getModulePath($this->getModuleName());
23 23
 
24
-        $filePath = GenerateConfigReader::read('enums')->getPath() ?? config('modules.paths.app_folder') . 'Enums';
24
+        $filePath = GenerateConfigReader::read('enums')->getPath() ?? config('modules.paths.app_folder').'Enums';
25 25
 
26
-        return $path . $filePath . '/' . $this->getEnumName() . '.php';
26
+        return $path.$filePath.'/'.$this->getEnumName().'.php';
27 27
     }
28 28
 
29 29
     protected function getTemplateContents(): string
@@ -54,12 +54,12 @@  discard block
 block discarded – undo
54 54
         ];
55 55
     }
56 56
 
57
-    protected function getEnumName(): array|string
57
+    protected function getEnumName(): 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->getEnumName());
65 65
     }
Please login to merge, or discard this patch.
src/Commands/Make/ServiceMakeCommand.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -21,9 +21,9 @@  discard block
 block discarded – undo
21 21
     {
22 22
         $path = $this->laravel['modules']->getModulePath($this->getModuleName());
23 23
 
24
-        $filePath = GenerateConfigReader::read('services')->getPath() ?? config('modules.paths.app_folder') . 'Services';
24
+        $filePath = GenerateConfigReader::read('services')->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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Commands/Make/ActionMakeCommand.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -21,9 +21,9 @@  discard block
 block discarded – undo
21 21
     {
22 22
         $path = $this->laravel['modules']->getModulePath($this->getModuleName());
23 23
 
24
-        $filePath = GenerateConfigReader::read('actions')->getPath() ?? config('modules.paths.app_folder') . 'Actions';
24
+        $filePath = GenerateConfigReader::read('actions')->getPath() ?? config('modules.paths.app_folder').'Actions';
25 25
 
26
-        return $path . $filePath . '/' . $this->getActionName() . '.php';
26
+        return $path.$filePath.'/'.$this->getActionName().'.php';
27 27
     }
28 28
 
29 29
     protected function getTemplateContents(): string
@@ -55,12 +55,12 @@  discard block
 block discarded – undo
55 55
         ];
56 56
     }
57 57
 
58
-    protected function getActionName(): array|string
58
+    protected function getActionName(): 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->getActionName());
66 66
     }
Please login to merge, or discard this patch.
src/Commands/Make/HelperMakeCommand.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -21,9 +21,9 @@  discard block
 block discarded – undo
21 21
     {
22 22
         $path = $this->laravel['modules']->getModulePath($this->getModuleName());
23 23
 
24
-        $filePath = GenerateConfigReader::read('helpers')->getPath() ?? config('modules.paths.app_folder') . 'Helpers';
24
+        $filePath = GenerateConfigReader::read('helpers')->getPath() ?? config('modules.paths.app_folder').'Helpers';
25 25
 
26
-        return $path . $filePath . '/' . $this->getHelperName() . '.php';
26
+        return $path.$filePath.'/'.$this->getHelperName().'.php';
27 27
     }
28 28
 
29 29
     protected function getTemplateContents(): string
@@ -55,12 +55,12 @@  discard block
 block discarded – undo
55 55
         ];
56 56
     }
57 57
 
58
-    protected function getHelperName(): array|string
58
+    protected function getHelperName(): 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->getHelperName());
66 66
     }
Please login to merge, or discard this patch.