@@ -24,7 +24,7 @@ |
||
24 | 24 | |
25 | 25 | 'stubs' => [ |
26 | 26 | 'enabled' => false, |
27 | - 'path' => base_path() . '/vendor/nwidart/laravel-modules/src/Commands/stubs', |
|
27 | + 'path' => base_path().'/vendor/nwidart/laravel-modules/src/Commands/stubs', |
|
28 | 28 | 'files' => [ |
29 | 29 | 'routes/web' => 'Routes/web.php', |
30 | 30 | 'routes/api' => 'Routes/api.php', |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | |
79 | 79 | $generatorPath = GenerateConfigReader::read('provider'); |
80 | 80 | |
81 | - return $path . $generatorPath->getPath() . '/' . $this->getFileName() . '.php'; |
|
81 | + return $path.$generatorPath->getPath().'/'.$this->getFileName().'.php'; |
|
82 | 82 | } |
83 | 83 | |
84 | 84 | /** |
@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | */ |
87 | 87 | protected function getWebRoutesPath() |
88 | 88 | { |
89 | - return '/' . $this->laravel['config']->get('stubs.files.routes', 'Routes/web.php'); |
|
89 | + return '/'.$this->laravel['config']->get('stubs.files.routes', 'Routes/web.php'); |
|
90 | 90 | } |
91 | 91 | |
92 | 92 | /** |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | */ |
95 | 95 | protected function getApiRoutesPath() |
96 | 96 | { |
97 | - return '/' . $this->laravel['config']->get('stubs.files.routes', 'Routes/api.php'); |
|
97 | + return '/'.$this->laravel['config']->get('stubs.files.routes', 'Routes/api.php'); |
|
98 | 98 | } |
99 | 99 | |
100 | 100 | public function getDefaultNamespace() : string |
@@ -143,7 +143,7 @@ discard block |
||
143 | 143 | $process->setTimeout($this->timeout); |
144 | 144 | |
145 | 145 | if ($this->console instanceof Command) { |
146 | - $process->run(function ($type, $line) { |
|
146 | + $process->run(function($type, $line) { |
|
147 | 147 | $this->console->line($line); |
148 | 148 | }); |
149 | 149 | } |
@@ -266,11 +266,11 @@ discard block |
||
266 | 266 | public function getPackageName() |
267 | 267 | { |
268 | 268 | if (is_null($this->version)) { |
269 | - return $this->name . ':dev-master'; |
|
269 | + return $this->name.':dev-master'; |
|
270 | 270 | } elseif (!$this->version) { |
271 | 271 | return $this->name; |
272 | 272 | } else { |
273 | - return $this->name . ':' . $this->version; |
|
273 | + return $this->name.':'.$this->version; |
|
274 | 274 | } |
275 | 275 | } |
276 | 276 |
@@ -84,7 +84,7 @@ |
||
84 | 84 | $requireKey = $this->option('dev') ? 'require-dev' : 'require'; |
85 | 85 | $requireOtherKey = $this->option('dev') ? 'require' : 'require-dev'; |
86 | 86 | [$newPackage, $newPackageVersion] = $this->getNewPackageInfo($composer, $requireKey); |
87 | - $moduleComposerPath = $this->getModule()->getPath() . '/composer.json'; |
|
87 | + $moduleComposerPath = $this->getModule()->getPath().'/composer.json'; |
|
88 | 88 | $moduleComposer = $this->getComposer($moduleComposerPath); |
89 | 89 | $moduleComposer = $this->setModuleComposer( |
90 | 90 | $moduleComposer, |