@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | |
31 | 31 | public function handle() |
32 | 32 | { |
33 | - if (! $this->option('event')) { |
|
33 | + if (!$this->option('event')) { |
|
34 | 34 | $this->error('The --event option is necessary'); |
35 | 35 | |
36 | 36 | return; |
@@ -79,12 +79,12 @@ discard block |
||
79 | 79 | { |
80 | 80 | $namespace = str_replace('/', '\\', config('modules.paths.generator.listener')); |
81 | 81 | |
82 | - return $this->getClassNamespace($module) . "\\" . $namespace; |
|
82 | + return $this->getClassNamespace($module)."\\".$namespace; |
|
83 | 83 | } |
84 | 84 | |
85 | 85 | protected function getEventName(Module $module) |
86 | 86 | { |
87 | - return $this->getClassNamespace($module) . "\\" . config('modules.paths.generator.event') . "\\" . $this->option('event'); |
|
87 | + return $this->getClassNamespace($module)."\\".config('modules.paths.generator.event')."\\".$this->option('event'); |
|
88 | 88 | } |
89 | 89 | |
90 | 90 | protected function getDestinationFilePath() |
@@ -93,7 +93,7 @@ discard block |
||
93 | 93 | |
94 | 94 | $seederPath = $this->laravel['modules']->config('paths.generator.listener'); |
95 | 95 | |
96 | - return $path . $seederPath . '/' . $this->getFileName() . '.php'; |
|
96 | + return $path.$seederPath.'/'.$this->getFileName().'.php'; |
|
97 | 97 | } |
98 | 98 | |
99 | 99 | /** |