@@ -31,9 +31,9 @@ |
||
| 31 | 31 | */ |
| 32 | 32 | public function setupStubPath() |
| 33 | 33 | { |
| 34 | - Stub::setBasePath(__DIR__ . '/Commands/stubs'); |
|
| 34 | + Stub::setBasePath(__DIR__.'/Commands/stubs'); |
|
| 35 | 35 | |
| 36 | - $this->app->booted(function ($app) { |
|
| 36 | + $this->app->booted(function($app) { |
|
| 37 | 37 | if ($app['modules']->config('stubs.enabled') === true) { |
| 38 | 38 | Stub::setBasePath($app['modules']->config('stubs.path')); |
| 39 | 39 | } |
@@ -43,7 +43,7 @@ discard block |
||
| 43 | 43 | */ |
| 44 | 44 | protected function registerNamespaces() |
| 45 | 45 | {
|
| 46 | - $configPath = __DIR__ . '/../config/config.php'; |
|
| 46 | + $configPath = __DIR__.'/../config/config.php'; |
|
| 47 | 47 | |
| 48 | 48 | $this->mergeConfigFrom($configPath, 'modules'); |
| 49 | 49 | $this->publishes([ |
@@ -56,7 +56,7 @@ discard block |
||
| 56 | 56 | */ |
| 57 | 57 | protected function registerServices() |
| 58 | 58 | {
|
| 59 | - $this->app->singleton('modules', function ($app) {
|
|
| 59 | + $this->app->singleton('modules', function($app) {
|
|
| 60 | 60 | $path = $app['config']->get('modules.paths.modules');
|
| 61 | 61 | |
| 62 | 62 | return new Repository($app, $path); |
@@ -30,7 +30,7 @@ |
||
| 30 | 30 | */ |
| 31 | 31 | public function setupStubPath() |
| 32 | 32 | {
|
| 33 | - Stub::setBasePath(__DIR__ . '/Commands/stubs'); |
|
| 33 | + Stub::setBasePath(__DIR__.'/Commands/stubs'); |
|
| 34 | 34 | |
| 35 | 35 | if (app('modules')->config('stubs.enabled') === true) {
|
| 36 | 36 | Stub::setBasePath(app('modules')->config('stubs.path'));
|