@@ -59,9 +59,9 @@ discard block |
||
59 | 59 | $module = $this->laravel['modules']->findOrFail($this->getModuleName()); |
60 | 60 | |
61 | 61 | return (new Stub('/event.stub', [ |
62 | - 'NAMESPACE' => $this->getClassNamespace($module) . "\\" . config("modules.paths.generator.event"), |
|
62 | + 'NAMESPACE' => $this->getClassNamespace($module)."\\".config("modules.paths.generator.event"), |
|
63 | 63 | "CLASS" => $this->getClass(), |
64 | - 'DUMMYNAMESPACE' => $this->laravel->getNamespace() . "Events" |
|
64 | + 'DUMMYNAMESPACE' => $this->laravel->getNamespace()."Events" |
|
65 | 65 | ]))->render(); |
66 | 66 | } |
67 | 67 | |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | |
72 | 72 | $seederPath = $this->laravel['modules']->config('paths.generator.event'); |
73 | 73 | |
74 | - return $path . $seederPath . '/' . $this->getFileName() . '.php'; |
|
74 | + return $path.$seederPath.'/'.$this->getFileName().'.php'; |
|
75 | 75 | |
76 | 76 | } |
77 | 77 |
@@ -59,11 +59,11 @@ discard block |
||
59 | 59 | $module = $this->laravel['modules']->findOrFail($this->getModuleName()); |
60 | 60 | |
61 | 61 | return (new Stub('/listener.stub', [ |
62 | - 'NAMESPACE' => $this->getClassNamespace($module) . "\\" . config("modules.paths.generator.listener"), |
|
62 | + 'NAMESPACE' => $this->getClassNamespace($module)."\\".config("modules.paths.generator.listener"), |
|
63 | 63 | "EVENTNAME" => $this->getEventName($module), |
64 | 64 | "EVENTSHORTENEDNAME" => $this->option('event'), |
65 | 65 | "CLASS" => $this->getClass(), |
66 | - 'DUMMYNAMESPACE' => $this->laravel->getNamespace() . "Events" |
|
66 | + 'DUMMYNAMESPACE' => $this->laravel->getNamespace()."Events" |
|
67 | 67 | ]))->render(); |
68 | 68 | |
69 | 69 | } |
@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | |
75 | 75 | $seederPath = $this->laravel['modules']->config('paths.generator.listener'); |
76 | 76 | |
77 | - return $path . $seederPath . '/' . $this->getFileName() . '.php'; |
|
77 | + return $path.$seederPath.'/'.$this->getFileName().'.php'; |
|
78 | 78 | |
79 | 79 | } |
80 | 80 | |
@@ -97,6 +97,6 @@ discard block |
||
97 | 97 | |
98 | 98 | protected function getEventName(Module $module) |
99 | 99 | { |
100 | - return $this->getClassNamespace($module) . "\\" . config("modules.paths.generator.event") . "\\" . $this->option('event'); |
|
100 | + return $this->getClassNamespace($module)."\\".config("modules.paths.generator.event")."\\".$this->option('event'); |
|
101 | 101 | } |
102 | 102 | } |