Jordi Boggiano пре 13 година
родитељ
комит
72b7b169e7
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/Composer/Repository/VcsRepository.php

+ 1 - 1
src/Composer/Repository/VcsRepository.php

@@ -35,7 +35,7 @@ class VcsRepository extends ArrayRepository
 
         $this->url = $config['url'];
         $this->io = $io;
-        $this->type = $config['type'];
+        $this->type = isset($config['type']) ? $config['type'] : 'vcs';
     }
 
     public function setDebug($debug)