1
0
Fork 0

It's called a repository, not a registry

pull/1/head
Nils Adermann 2011-04-18 22:48:51 +02:00
parent 9b8ab7d710
commit f0af6b7d57
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ class ComposerRepository extends ArrayRepository
parent::initialize(); parent::initialize();
$packages = @json_decode(file_get_contents($this->url.'/packages.json'), true); $packages = @json_decode(file_get_contents($this->url.'/packages.json'), true);
if (!$packages) { if (!$packages) {
throw new \UnexpectedValueException('Could not parse package list from the '.$this->url.' registry'); throw new \UnexpectedValueException('Could not parse package list from the '.$this->url.' repository');
} }
foreach ($packages as $data) { foreach ($packages as $data) {