@@ -156,8 +156,7 @@ discard block |
||
156 | 156 | } |
157 | 157 | |
158 | 158 | $process = $this->installViaGit(); |
159 | - } |
|
160 | - else { |
|
159 | + } else { |
|
161 | 160 | $process = $this->installViaComposer(); |
162 | 161 | } |
163 | 162 | |
@@ -201,10 +200,11 @@ discard block |
||
201 | 200 | |
202 | 201 | default: |
203 | 202 | $parts = explode('.', $this->type); |
204 | - if (end($parts) == "git") |
|
205 | - return $this->type; |
|
206 | - else |
|
207 | - return "{$this->type}:{$this->name}.git"; |
|
203 | + if (end($parts) == "git") { |
|
204 | + return $this->type; |
|
205 | + } else { |
|
206 | + return "{$this->type}:{$this->name}.git"; |
|
207 | + } |
|
208 | 208 | break; |
209 | 209 | } |
210 | 210 | } |