Completed
Push — master ( 209621...af6688 )
by
unknown
22:51 queued 12:54
created
src/Commands/Make/ExceptionMakeCommand.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('exceptions')->getPath() ?? config('modules.paths.app_folder') . 'Exceptions';
24
+        $filePath = GenerateConfigReader::read('exceptions')->getPath() ?? config('modules.paths.app_folder').'Exceptions';
25 25
 
26
-        return $path . $filePath . '/' . $this->getExceptionName() . '.php';
26
+        return $path.$filePath.'/'.$this->getExceptionName().'.php';
27 27
     }
28 28
 
29 29
     protected function getTemplateContents(): string
@@ -56,12 +56,12 @@  discard block
 block discarded – undo
56 56
         ];
57 57
     }
58 58
 
59
-    protected function getExceptionName(): array|string
59
+    protected function getExceptionName(): 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->getExceptionName());
67 67
     }
Please login to merge, or discard this patch.