Allow calling getProviderNames multiple times, refs #8516
parent
3791a574a2
commit
0b767e0b83
|
@ -249,8 +249,11 @@ class ComposerRepository extends ArrayRepository implements ConfigurableReposito
|
||||||
$this->loadProviderListings($this->loadRootServerFile());
|
$this->loadProviderListings($this->loadRootServerFile());
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($this->hasPartialPackages && null === $this->partialPackagesByName) {
|
if ($this->hasPartialPackages) {
|
||||||
|
if (null === $this->partialPackagesByName) {
|
||||||
$this->initializePartialPackages();
|
$this->initializePartialPackages();
|
||||||
|
}
|
||||||
|
|
||||||
return array_keys($this->partialPackagesByName);
|
return array_keys($this->partialPackagesByName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue