Completed
Pull Request — master (#1280)
by
unknown
10:04
created
src/Process/Installer.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
         $process->setTimeout($this->timeout);
141 141
 
142 142
         if ($this->console instanceof Command) {
143
-            $process->run(function ($type, $line) {
143
+            $process->run(function($type, $line) {
144 144
                 $this->console->line($line);
145 145
             });
146 146
         }
@@ -237,7 +237,7 @@  discard block
 block discarded – undo
237 237
     {
238 238
         $parts = explode('/', $this->name);
239 239
 
240
-        $names =  explode('-', end($parts));
240
+        $names = explode('-', end($parts));
241 241
         
242 242
         $name = end($names) == 'module' ? reset($names) : end($parts);
243 243
 
@@ -252,10 +252,10 @@  discard block
 block discarded – undo
252 252
     public function getPackageName()
253 253
     {
254 254
         if (is_null($this->version)) {
255
-            return $this->name . ':dev-master';
255
+            return $this->name.':dev-master';
256 256
         }
257 257
 
258
-        return $this->name . ':' . $this->version;
258
+        return $this->name.':'.$this->version;
259 259
     }
260 260
 
261 261
     /**
Please login to merge, or discard this patch.