mirror of
https://github.com/composer/composer
synced 2025-05-10 17:12:51 +00:00
Remove dead code
This commit is contained in:
parent
5c0c51388a
commit
bb96b04f4a
1 changed files with 0 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue