1
0
Fork 0

Avoid adding aliased locked packages twice in the LockArrayRepository, fixes #9240

pull/9278/head
Jordi Boggiano 2020-10-12 10:17:06 +02:00
parent 9528ce7057
commit 6f77c5f5ea
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 0 additions and 1 deletions

View File

@ -179,7 +179,6 @@ class Locker
$packageByName[$package->getName()] = $package; $packageByName[$package->getName()] = $package;
if ($package instanceof AliasPackage) { if ($package instanceof AliasPackage) {
$packages->addPackage($package->getAliasOf());
$packageByName[$package->getAliasOf()->getName()] = $package->getAliasOf(); $packageByName[$package->getAliasOf()->getName()] = $package->getAliasOf();
} }
} }