Completed
Pull Request — master (#1102)
by
unknown
01:48
created
config/lumen-config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
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',
Please login to merge, or discard this patch.
src/ModulesServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
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([
Please login to merge, or discard this patch.
src/Commands/RouteProviderMakeCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.