Completed
Push — master ( af6688...a00640 )
by
unknown
33:28 queued 23:38
created
src/Commands/Make/InterfaceMakeCommand.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('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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.