1
0
Fork 0

Exception mentioned PEAR repository when should be VCS, was misleading

pull/306/head
Logan Aube 2012-02-16 19:42:19 -05:00
parent 26f2b9e93f
commit ea05f678fd
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ class VcsRepository extends ArrayRepository
public function __construct(array $config, IOInterface $io, array $drivers = null) public function __construct(array $config, IOInterface $io, array $drivers = null)
{ {
if (!filter_var($config['url'], FILTER_VALIDATE_URL)) { if (!filter_var($config['url'], FILTER_VALIDATE_URL)) {
throw new \UnexpectedValueException('Invalid url given for PEAR repository: '.$config['url']); throw new \UnexpectedValueException('Invalid url given for VCS repository: '.$config['url']);
} }
$this->drivers = $drivers ?: array( $this->drivers = $drivers ?: array(