1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-10 17:12:51 +00:00

Remove dead code

This commit is contained in:
Jordi Boggiano 2020-09-10 16:05:31 +02:00
parent 5c0c51388a
commit bb96b04f4a
No known key found for this signature in database
GPG key ID: 7BBD42C429EC80BC

View file

@ -1333,8 +1333,6 @@ class ComposerRepository extends ArrayRepository implements ConfigurableReposito
throw new \LogicException('lazyProvidersRepoContains should not be called unless hasAvailablePackageList is true');
}
$ruledOutByExactMatch = $ruledOutByRegex = true;
if (is_array($this->availablePackages) && isset($this->availablePackages[$name])) {
return true;
}