Completed
Pull Request — master (#1811)
by
unknown
06:38
created
src/LumenModulesServiceProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
      */
34 34
     public function setupStubPath(): void
35 35
     {
36
-        Stub::setBasePath(__DIR__ . '/Commands/stubs');
36
+        Stub::setBasePath(__DIR__.'/Commands/stubs');
37 37
 
38 38
         if (app('modules')->config('stubs.enabled') === true) {
39 39
             Stub::setBasePath(app('modules')->config('stubs.path'));
@@ -45,15 +45,15 @@  discard block
 block discarded – undo
45 45
      */
46 46
     protected function registerServices(): void
47 47
     {
48
-        $this->app->singleton(RepositoryInterface::class, function ($app) {
48
+        $this->app->singleton(RepositoryInterface::class, function($app) {
49 49
             $path = $app['config']->get('modules.paths.modules');
50 50
 
51 51
             return new LumenFileRepository($app, $path);
52 52
         });
53 53
 
54
-        $this->app->singleton(ActivatorInterface::class, function ($app) {
54
+        $this->app->singleton(ActivatorInterface::class, function($app) {
55 55
             $activator = $app['config']->get('modules.activator');
56
-            $class = $app['config']->get('modules.activators.' . $activator)['class'];
56
+            $class = $app['config']->get('modules.activators.'.$activator)['class'];
57 57
 
58 58
             return new $class($app);
59 59
         });
Please login to merge, or discard this patch.