Completed
Push — master ( 6e27f1...d5fec2 )
by Nicolas
03:36
created
src/FileRepository.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -103,7 +103,6 @@  discard block
 block discarded – undo
103 103
     /**
104 104
      * Creates a new Module instance
105 105
      *
106
-     * @param Container $app
107 106
      * @param $name
108 107
      * @param $path
109 108
      * @return \Nwidart\Modules\Module
@@ -425,7 +424,7 @@  discard block
 block discarded – undo
425 424
     /**
426 425
      * Get a specific config data from a configuration file.
427 426
      *
428
-     * @param $key
427
+     * @param string $key
429 428
      *
430 429
      * @param null $default
431 430
      * @return mixed
@@ -614,7 +613,7 @@  discard block
 block discarded – undo
614 613
     /**
615 614
      * Get stub path.
616 615
      *
617
-     * @return string|null
616
+     * @return string|boolean
618 617
      */
619 618
     public function getStubPath()
620 619
     {
Please login to merge, or discard this patch.
src/LumenModulesServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
42 42
      */
43 43
     protected function registerServices()
44 44
     {
45
-        $this->app->singleton('modules', function ($app) {
45
+        $this->app->singleton('modules', function($app) {
46 46
             $path = $app['config']->get('modules.paths.modules');
47 47
 
48 48
             return new Lumen\LumenFileRepository($app, $path);
Please login to merge, or discard this patch.
src/Commands/UpdateCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
 
46 46
     protected function updateModule($name)
47 47
     {
48
-        $this->line('Running for module: <info>' . $name . '</info>');
48
+        $this->line('Running for module: <info>'.$name.'</info>');
49 49
 
50 50
         $this->laravel['modules']->update($name);
51 51
 
Please login to merge, or discard this patch.
src/LaravelModulesServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -30,9 +30,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
44 44
      */
45 45
     protected function registerServices()
46 46
     {
47
-        $this->app->singleton('modules', function ($app) {
47
+        $this->app->singleton('modules', function($app) {
48 48
             $path = $app['config']->get('modules.paths.modules');
49 49
 
50 50
             return new Laravel\LaravelFileRepository($app, $path);
Please login to merge, or discard this patch.