Completed
Pull Request — master (#2)
by
unknown
04:38
created
src/Commands/GenerateEventCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -69,9 +69,9 @@  discard block
 block discarded – undo
69 69
 		$module = $this->laravel['modules']->findOrFail($this->getModuleName());
70 70
 
71 71
 		return (new Stub('/event.stub', [
72
-			'NAMESPACE' => $this->getClassNamespace($module) . "\\" . config("modules.paths.generator.event"),
72
+			'NAMESPACE' => $this->getClassNamespace($module)."\\".config("modules.paths.generator.event"),
73 73
 			"CLASS" => $this->getClass(),
74
-			'DUMMYNAMESPACE' => $this->laravel->getNamespace() . "Events"
74
+			'DUMMYNAMESPACE' => $this->laravel->getNamespace()."Events"
75 75
 		]))->render();
76 76
 	}
77 77
 
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
 
82 82
 		$seederPath = $this->laravel['modules']->config('paths.generator.event');
83 83
 
84
-		return $path . $seederPath . '/' . $this->getFileName() . '.php';
84
+		return $path.$seederPath.'/'.$this->getFileName().'.php';
85 85
 
86 86
 	}
87 87
 
Please login to merge, or discard this patch.
src/Commands/GenerateListenerCommand.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -69,11 +69,11 @@  discard block
 block discarded – undo
69 69
 		$module = $this->laravel['modules']->findOrFail($this->getModuleName());
70 70
 
71 71
 		return (new Stub('/listener.stub', [
72
-			'NAMESPACE' => $this->getClassNamespace($module) . "\\" . config("modules.paths.generator.listener"),
72
+			'NAMESPACE' => $this->getClassNamespace($module)."\\".config("modules.paths.generator.listener"),
73 73
 			"EVENTNAME" => $this->getEventName($module),
74 74
 			"EVENTSHORTENEDNAME" => $this->option('event'),
75 75
 			"CLASS" => $this->getClass(),
76
-			'DUMMYNAMESPACE' => $this->laravel->getNamespace() . "Events"
76
+			'DUMMYNAMESPACE' => $this->laravel->getNamespace()."Events"
77 77
 		]))->render();
78 78
 
79 79
 	}
@@ -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
 
@@ -107,6 +107,6 @@  discard block
 block discarded – undo
107 107
 
108 108
 	protected function getEventName(Module $module)
109 109
 	{
110
-		return $this->getClassNamespace($module) . "\\" . config("modules.paths.generator.event") . "\\" . $this->option('event');
110
+		return $this->getClassNamespace($module)."\\".config("modules.paths.generator.event")."\\".$this->option('event');
111 111
 	}
112 112
 }
Please login to merge, or discard this patch.