mirror of
https://github.com/composer/composer
synced 2025-05-09 16:42:57 +00:00
Fix wrong var name, refs #674
This commit is contained in:
parent
f516c1de48
commit
0a0a6b1813
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ class FilesystemRepository extends ArrayRepository implements WritableRepository
|
|||
foreach ($aliases as $aliasData) {
|
||||
$temporaryPackage = $aliasData['package'];
|
||||
|
||||
$package = $this->findPackage($package->getName(), $package->getVersion());
|
||||
$package = $this->findPackage($temporaryPackage->getName(), $temporaryPackage->getVersion());
|
||||
|
||||
$package->setAlias($aliasData['alias']);
|
||||
$package->setPrettyAlias($aliasData['alias_pretty']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue