Clarify code
parent
2a7a954f62
commit
0c343f925a
|
@ -272,7 +272,7 @@ class ComposerRepository extends ArrayRepository implements StreamableRepository
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($this->lazyProvidersUrl && !isset($this->providerListing[$name])) {
|
if ($this->lazyProvidersUrl && !isset($this->providerListing[$name])) {
|
||||||
$hash = $this->providerListing[$name]['sha256'];
|
$hash = null;
|
||||||
$url = str_replace('%package%', $name, $this->lazyProvidersUrl);
|
$url = str_replace('%package%', $name, $this->lazyProvidersUrl);
|
||||||
$cacheKey = false;
|
$cacheKey = false;
|
||||||
} elseif ($this->providersUrl) {
|
} elseif ($this->providersUrl) {
|
||||||
|
|
Loading…
Reference in New Issue