Completed
Push — master ( b11228...9eed5d )
by Nicolas
02:19
created
src/Commands/ResourceMakeCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
 
69 69
         $seederPath = $this->laravel['modules']->config('paths.generator.resource');
70 70
 
71
-        return $path . $seederPath . '/' . $this->getFileName() . '.php';
71
+        return $path.$seederPath.'/'.$this->getFileName().'.php';
72 72
     }
73 73
 
74 74
     /**
Please login to merge, or discard this patch.
src/Commands/ListenerMakeCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -70,12 +70,12 @@  discard block
 block discarded – undo
70 70
     {
71 71
         $namespace = str_replace('/', '\\', config('modules.paths.generator.listener'));
72 72
 
73
-        return $this->getClassNamespace($module) . "\\" . $namespace;
73
+        return $this->getClassNamespace($module)."\\".$namespace;
74 74
     }
75 75
 
76 76
     protected function getEventName(Module $module)
77 77
     {
78
-        return $this->getClassNamespace($module) . "\\" . config('modules.paths.generator.event') . "\\" . $this->option('event');
78
+        return $this->getClassNamespace($module)."\\".config('modules.paths.generator.event')."\\".$this->option('event');
79 79
     }
80 80
 
81 81
     protected function getDestinationFilePath()
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
 
85 85
         $seederPath = $this->laravel['modules']->config('paths.generator.listener');
86 86
 
87
-        return $path . $seederPath . '/' . $this->getFileName() . '.php';
87
+        return $path.$seederPath.'/'.$this->getFileName().'.php';
88 88
     }
89 89
 
90 90
     /**
Please login to merge, or discard this patch.
src/Commands/FactoryMakeCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
 
63 63
         $factoryPath = $this->laravel['modules']->config('paths.generator.factory', 'Database/factories');
64 64
 
65
-        return $path . $factoryPath  . '/' . $this->getFileName();
65
+        return $path.$factoryPath.'/'.$this->getFileName();
66 66
     }
67 67
 
68 68
     /**
@@ -70,6 +70,6 @@  discard block
 block discarded – undo
70 70
      */
71 71
     private function getFileName()
72 72
     {
73
-        return Str::studly($this->argument('name')) . '.php';
73
+        return Str::studly($this->argument('name')).'.php';
74 74
     }
75 75
 }
Please login to merge, or discard this patch.