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/Commands/ModelMakeCommand.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Jumilla\Generators\Laravel\OneFileGeneratorCommand as BaseCommand;
6 6
 use Jumilla\Generators\FileGenerator;
7
-use LaravelPlus\Extension\Addons\Addon;
8 7
 use LaravelPlus\Extension\Generators\GeneratorCommandTrait;
9 8
 use Illuminate\Support\Str;
10 9
 
Please login to merge, or discard this patch.
sources/Commands/AppContainerCommand.php 2 patches
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.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace LaravelPlus\Extension\Commands;
4 4
 
5 5
 use Illuminate\Console\Command;
6
-use Illuminate\Foundation\Application;
7 6
 use LaravelPlus\Extension\Hooks\ApplicationHook;
8 7
 
9 8
 /**
Please login to merge, or discard this patch.
sources/Generators/Commands/ControllerMakeCommand.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Jumilla\Generators\Laravel\OneFileGeneratorCommand as BaseCommand;
6 6
 use Jumilla\Generators\FileGenerator;
7
-use LaravelPlus\Extension\Addons\Addon;
8 7
 use LaravelPlus\Extension\Generators\GeneratorCommandTrait;
9 8
 use InvalidArgumentException;
10 9
 
Please login to merge, or discard this patch.
sources/Providers/ArtisanServiceProvider.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace LaravelPlus\Extension\Providers;
4 4
 
5 5
 use Illuminate\Foundation\Providers\ArtisanServiceProvider as ServiceProvider;
6
-use Illuminate\Console\Scheduling\Schedule;
7 6
 use Illuminate\Console\Scheduling\ScheduleRunCommand;
8 7
 use Illuminate\Console\Scheduling\ScheduleFinishCommand;
9 8
 use LaravelPlus\Extension\Commands;
Please login to merge, or discard this patch.
sources/Generators/GeneratorCommandTrait.php 1 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.