|
@@ -190,10 +190,6 @@ class Installer
|
|
|
foreach ($this->suggestedPackages as $suggestion) {
|
|
|
$target = $suggestion['target'];
|
|
|
if ($installedRepo->filterPackages(function (PackageInterface $package) use ($target) {
|
|
|
- // check the name first as it is the common case
|
|
|
- if ($package->getName() === $target) {
|
|
|
- return false;
|
|
|
- }
|
|
|
if (in_array($target, $package->getNames())) {
|
|
|
return false;
|
|
|
}
|