Completed
Push — master ( 4bbc57...b59f7d )
by Nicolas
04:21
created
src/LaravelModulesServiceProvider.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -32,9 +32,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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();
Please login to merge, or discard this patch.