Completed
Push — master ( 986651...6f879c )
by
unknown
20:48 queued 10:49
created
src/Commands/Make/ServiceMakeCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
 
23 23
         $servicePath = GenerateConfigReader::read('service');
24 24
 
25
-        return $path . $servicePath->getPath() . '/' . $this->getServiceName() . '.php';
25
+        return $path.$servicePath->getPath().'/'.$this->getServiceName().'.php';
26 26
     }
27 27
 
28 28
     protected function getTemplateContents(): string
@@ -43,12 +43,12 @@  discard block
 block discarded – undo
43 43
         ];
44 44
     }
45 45
 
46
-    protected function getServiceName(): array|string
46
+    protected function getServiceName(): array | string
47 47
     {
48 48
         return Str::studly($this->argument('name'));
49 49
     }
50 50
 
51
-    private function getClassNameWithoutNamespace(): array|string
51
+    private function getClassNameWithoutNamespace(): array | string
52 52
     {
53 53
         return class_basename($this->getServiceName());
54 54
     }
Please login to merge, or discard this patch.