1
0
Fork 0

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

pull/10537/head
Stephan 2022-02-09 10:45:10 +00:00 committed by GitHub
parent 3cb44bc4c0
commit 23b0a3819b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}