Completed
Pull Request — master (#249)
by
unknown
04:52
created
src/Process/Installer.php 1 patch
Braces   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -156,8 +156,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.