Completed
Push — master ( 216d8e...12bc3a )
by Fumio
09:56
created
sources/Specs/Factory.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,8 +49,7 @@
 block discarded – undo
49 49
     {
50 50
         if (is_string($pathOrSpec)) {
51 51
             $spec = $this->make($pathOrSpec);
52
-        }
53
-        else {
52
+        } else {
54 53
             $spec = $pathOrSpec;
55 54
         }
56 55
 
Please login to merge, or discard this patch.
sources/Specs/InputModel.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,8 +32,7 @@
 block discarded – undo
32 32
     {
33 33
         if (is_string($pathOrSpec)) {
34 34
             $spec = new InputSpec(app('specs'), app('translator'), $pathOrSpec);
35
-        }
36
-        else {
35
+        } else {
37 36
             $spec = $pathOrSpec;
38 37
         }
39 38
 
Please login to merge, or discard this patch.
sources/Generators/GeneratorCommandTrait.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
     }
73 73
 
74 74
     /**
75
-    * Get the addon namespace.
75
+     * Get the addon namespace.
76 76
      *
77 77
      * @return $string
78 78
      */
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -116,8 +116,7 @@
 block discarded – undo
116 116
             }
117 117
 
118 118
             return $this->addon->path($directories[0]);
119
-        }
120
-        else {
119
+        } else {
121 120
             return parent::getRootDirectory();
122 121
         }
123 122
     }
Please login to merge, or discard this patch.
sources/Commands/AppContainerCommand.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -50,12 +50,10 @@
 block discarded – undo
50 50
             if (is_array($instance)) {
51 51
                 if ($instance['shared']) {
52 52
                     $this->output(array_get($instances, $name));
53
-                }
54
-                else {
53
+                } else {
55 54
                     $this->output($instance['concrete']);
56 55
                 }
57
-            }
58
-            else {
56
+            } else {
59 57
                 $this->output($instance);
60 58
             }
61 59
 
Please login to merge, or discard this patch.
sources/Providers/ArtisanServiceProvider.php 1 patch
Indentation   +30 added lines, -30 removed lines patch added patch discarded remove patch
@@ -438,19 +438,19 @@  discard block
 block discarded – undo
438 438
      * @param string $command
439 439
      * @return void
440 440
      */
441
-     protected function registerMakeEventCommand($command)
442
-     {
443
-         $this->app->singleton($command, function ($app) {
444
-             return new Generators\Commands\EventMakeCommand($app);
445
-         });
446
-     }
441
+        protected function registerMakeEventCommand($command)
442
+        {
443
+            $this->app->singleton($command, function ($app) {
444
+                return new Generators\Commands\EventMakeCommand($app);
445
+            });
446
+        }
447 447
  
448
-      /**
449
-     * Register the command.
450
-     *
451
-     * @param string $command
452
-     * @return void
453
-     */
448
+        /**
449
+         * Register the command.
450
+         *
451
+         * @param string $command
452
+         * @return void
453
+         */
454 454
     protected function registerMakeJobCommand($command)
455 455
     {
456 456
         $this->app->singleton($command, function ($app) {
@@ -582,12 +582,12 @@  discard block
 block discarded – undo
582 582
      * @param string $command
583 583
      * @return void
584 584
      */
585
-     protected function registerMakeResourceCommand($command)
586
-     {
587
-         $this->app->singleton($command, function ($app) {
588
-             return new Generators\Commands\ResourceMakeCommand($app);
589
-         });
590
-     }
585
+        protected function registerMakeResourceCommand($command)
586
+        {
587
+            $this->app->singleton($command, function ($app) {
588
+                return new Generators\Commands\ResourceMakeCommand($app);
589
+            });
590
+        }
591 591
  
592 592
     /**
593 593
      * Register the command.
@@ -595,19 +595,19 @@  discard block
 block discarded – undo
595 595
      * @param string $command
596 596
      * @return void
597 597
      */
598
-     protected function registerMakeRuleCommand($command)
599
-     {
600
-         $this->app->singleton($command, function ($app) {
601
-             return new Generators\Commands\RuleMakeCommand($app);
602
-         });
603
-     }
598
+        protected function registerMakeRuleCommand($command)
599
+        {
600
+            $this->app->singleton($command, function ($app) {
601
+                return new Generators\Commands\RuleMakeCommand($app);
602
+            });
603
+        }
604 604
  
605
-      /**
606
-     * Register the command.
607
-     *
608
-     * @param string $command
609
-     * @return void
610
-     */
605
+        /**
606
+         * Register the command.
607
+         *
608
+         * @param string $command
609
+         * @return void
610
+         */
611 611
     protected function registerMakeSeederCommand($command)
612 612
     {
613 613
         $this->app->singleton($command, function ($app) {
Please login to merge, or discard this patch.