diff --git a/src/Composer/Repository/VcsRepository.php b/src/Composer/Repository/VcsRepository.php index 65e432b18..110cabd27 100644 --- a/src/Composer/Repository/VcsRepository.php +++ b/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)