@@ -32,9 +32,9 @@ discard block |
||
32 | 32 | */ |
33 | 33 | public function setupStubPath() |
34 | 34 | { |
35 | - Stub::setBasePath(__DIR__ . '/Commands/stubs'); |
|
35 | + Stub::setBasePath(__DIR__.'/Commands/stubs'); |
|
36 | 36 | |
37 | - $this->app->booted(function ($app) { |
|
37 | + $this->app->booted(function($app) { |
|
38 | 38 | /** @var RepositoryInterface $moduleRepository */ |
39 | 39 | $moduleRepository = $app[RepositoryInterface::class]; |
40 | 40 | if ($moduleRepository->config('stubs.enabled') === true) { |
@@ -48,14 +48,14 @@ discard block |
||
48 | 48 | */ |
49 | 49 | protected function registerServices() |
50 | 50 | { |
51 | - $this->app->singleton(Contracts\RepositoryInterface::class, function ($app) { |
|
51 | + $this->app->singleton(Contracts\RepositoryInterface::class, function($app) { |
|
52 | 52 | $path = $app['config']->get('modules.paths.modules'); |
53 | 53 | |
54 | 54 | return new Laravel\LaravelFileRepository($app, $path); |
55 | 55 | }); |
56 | - $this->app->singleton(Contracts\ActivatorInterface::class, function ($app) { |
|
56 | + $this->app->singleton(Contracts\ActivatorInterface::class, function($app) { |
|
57 | 57 | $activator = $app['config']->get('modules.activator'); |
58 | - $class = $app['config']->get('modules.activators.' . $activator)['class']; |
|
58 | + $class = $app['config']->get('modules.activators.'.$activator)['class']; |
|
59 | 59 | |
60 | 60 | if ($class === null) { |
61 | 61 | throw InvalidActivatorClass::missingConfig(); |