@@ -49,8 +49,7 @@ |
||
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 |
@@ -32,8 +32,7 @@ |
||
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 |
@@ -50,12 +50,10 @@ |
||
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 |
@@ -116,8 +116,7 @@ |
||
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 | } |