ComposerRepository: fix array_keys(): Argument #1 () must be of type array, null given (#10529)

main
Stephan 2 years ago committed by GitHub
parent 3cb44bc4c0
commit 23b0a3819b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -657,7 +657,7 @@ class ComposerRepository extends ArrayRepository implements ConfigurableReposito
return array();
}
if ($this->providersUrl) {
if (null !== $this->providersUrl && null !== $this->providerListing) {
return array_keys($this->providerListing);
}

Loading…
Cancel
Save