@@ -30,7 +30,7 @@ discard block |
||
| 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')); |
@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | */ |
| 43 | 43 | protected function registerServices() |
| 44 | 44 | { |
| 45 | - $this->app->singleton(Contracts\RepositoryInterface::class, function ($app) { |
|
| 45 | + $this->app->singleton(Contracts\RepositoryInterface::class, function($app) { |
|
| 46 | 46 | $path = $app['config']->get('modules.paths.modules'); |
| 47 | 47 | |
| 48 | 48 | return new Lumen\LumenFileRepository($app, $path); |
@@ -30,9 +30,9 @@ discard block |
||
| 30 | 30 | */ |
| 31 | 31 | public function setupStubPath() |
| 32 | 32 | { |
| 33 | - Stub::setBasePath(__DIR__ . '/Commands/stubs'); |
|
| 33 | + Stub::setBasePath(__DIR__.'/Commands/stubs'); |
|
| 34 | 34 | |
| 35 | - $this->app->booted(function ($app) { |
|
| 35 | + $this->app->booted(function($app) { |
|
| 36 | 36 | if ($app['modules']->config('stubs.enabled') === true) { |
| 37 | 37 | Stub::setBasePath($app['modules']->config('stubs.path')); |
| 38 | 38 | } |
@@ -44,7 +44,7 @@ discard block |
||
| 44 | 44 | */ |
| 45 | 45 | protected function registerServices() |
| 46 | 46 | { |
| 47 | - $this->app->singleton(Contracts\RepositoryInterface::class, function ($app) { |
|
| 47 | + $this->app->singleton(Contracts\RepositoryInterface::class, function($app) { |
|
| 48 | 48 | $path = $app['config']->get('modules.paths.modules'); |
| 49 | 49 | |
| 50 | 50 | return new Laravel\LaravelFileRepository($app, $path); |