@@ -26,7 +26,7 @@ |
||
26 | 26 | |
27 | 27 | 'stubs' => [ |
28 | 28 | 'enabled' => false, |
29 | - 'path' => base_path() . '/vendor/Nwidart/laravel-modules/src/Commands/stubs', |
|
29 | + 'path' => base_path().'/vendor/Nwidart/laravel-modules/src/Commands/stubs', |
|
30 | 30 | 'files' => [ |
31 | 31 | 'routes/lumen-api' => 'Routes/api.php', |
32 | 32 | 'scaffold/config' => 'Config/config.php', |
@@ -37,7 +37,7 @@ |
||
37 | 37 | protected function registerNamespaces() |
38 | 38 | { |
39 | 39 | $configPath = (app() instanceof \Illuminate\Foundation\Application) ? 'config.php' : 'lumen-config.php'; |
40 | - $configPath = __DIR__ . "/../config/" . $configPath; |
|
40 | + $configPath = __DIR__."/../config/".$configPath; |
|
41 | 41 | |
42 | 42 | $this->mergeConfigFrom($configPath, 'modules'); |
43 | 43 | $this->publishes([ |
@@ -89,7 +89,7 @@ discard block |
||
89 | 89 | |
90 | 90 | $generatorPath = GenerateConfigReader::read('provider'); |
91 | 91 | |
92 | - return $path . $generatorPath->getPath() . '/' . $this->getFileName() . '.php'; |
|
92 | + return $path.$generatorPath->getPath().'/'.$this->getFileName().'.php'; |
|
93 | 93 | } |
94 | 94 | |
95 | 95 | /** |
@@ -97,7 +97,7 @@ discard block |
||
97 | 97 | */ |
98 | 98 | protected function getWebRoutesPath() |
99 | 99 | { |
100 | - return '/' . $this->laravel['modules']->config('stubs.files.routes/web', 'Routes/web.php'); |
|
100 | + return '/'.$this->laravel['modules']->config('stubs.files.routes/web', 'Routes/web.php'); |
|
101 | 101 | } |
102 | 102 | |
103 | 103 | /** |
@@ -106,7 +106,7 @@ discard block |
||
106 | 106 | protected function getApiRoutesPath() |
107 | 107 | { |
108 | 108 | $routeStubPath = $this->isLaravelApplication() ? 'api' : 'lumen-api'; |
109 | - return '/' . $this->laravel['modules']->config("stubs.files.routes/$routeStubPath", 'Routes/api.php'); |
|
109 | + return '/'.$this->laravel['modules']->config("stubs.files.routes/$routeStubPath", 'Routes/api.php'); |
|
110 | 110 | } |
111 | 111 | |
112 | 112 | public function getDefaultNamespace() : string |