From 72b7b169e75fba8a4b93223daafb0e3b8a8592a0 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Sun, 18 Mar 2012 22:58:53 +0100 Subject: [PATCH] Fix warning --- src/Composer/Repository/VcsRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)