Reset ids of aliased packages as well
parent
350c7cbb3a
commit
fef3dacdfb
|
@ -202,6 +202,9 @@ class ComposerRepository extends ArrayRepository implements NotifiableRepository
|
||||||
public function resetPackageIds()
|
public function resetPackageIds()
|
||||||
{
|
{
|
||||||
foreach ($this->providersByUid as $package) {
|
foreach ($this->providersByUid as $package) {
|
||||||
|
if ($package instanceof AliasPackage) {
|
||||||
|
$package->getAliasOf()->setId(-1);
|
||||||
|
}
|
||||||
$package->setId(-1);
|
$package->setId(-1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue