Avoid adding aliased locked packages twice in the LockArrayRepository, fixes #9240
parent
9528ce7057
commit
6f77c5f5ea
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue