Completed
Pull Request — master (#1802)
by Solomon
10:44
created
src/Commands/Make/ClassCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
     {
50 50
         $path = $this->laravel['modules']->getModulePath($this->getModuleName());
51 51
         $config = GenerateConfigReader::read('class');
52
-        $path .= $this->typePath($config->getPath()) . '/' . $this->getFileName() . '.php';
52
+        $path .= $this->typePath($config->getPath()).'/'.$this->getFileName().'.php';
53 53
 
54 54
         return $path;
55 55
     }
Please login to merge, or discard this patch.
src/Commands/Make/GeneratorCommand.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
         $contents = $this->getTemplateContents();
44 44
 
45 45
         try {
46
-            $this->components->task("Generating file {$path}", function () use ($path, $contents) {
46
+            $this->components->task("Generating file {$path}", function() use ($path, $contents) {
47 47
                 $overwriteFile = $this->hasOption('force') ? $this->option('force') : false;
48 48
                 (new FileGenerator($path, $contents))->withFileOverwrite($overwriteFile)->generate();
49 49
             });
@@ -92,11 +92,11 @@  discard block
 block discarded – undo
92 92
 
93 93
         $namespace = $this->laravel['modules']->config('namespace');
94 94
 
95
-        $namespace .= '\\' . $module->getStudlyName();
95
+        $namespace .= '\\'.$module->getStudlyName();
96 96
 
97
-        $namespace .= '\\' . $this->getDefaultNamespace();
97
+        $namespace .= '\\'.$this->getDefaultNamespace();
98 98
 
99
-        $namespace .= $extra ? '\\' . $extra : '';
99
+        $namespace .= $extra ? '\\'.$extra : '';
100 100
 
101 101
         $namespace = str_replace('/', '\\', $namespace);
102 102
 
Please login to merge, or discard this patch.