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());
|
||||
}
|
||||
|
||||
if ($this->hasPartialPackages && null === $this->partialPackagesByName) {
|
||||
$this->initializePartialPackages();
|
||||
if ($this->hasPartialPackages) {
|
||||
if (null === $this->partialPackagesByName) {
|
||||
$this->initializePartialPackages();
|
||||
}
|
||||
|
||||
return array_keys($this->partialPackagesByName);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue