It's called a repository, not a registry
parent
9b8ab7d710
commit
f0af6b7d57
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue