1
0
Fork 0
pull/136/merge
Jordi Boggiano 2011-11-28 20:58:16 +01:00
parent 9f55335011
commit b8a9bf7b60
1 changed files with 2 additions and 2 deletions

View File

@ -159,8 +159,8 @@ class ArrayLoader
if ('self.version' === $constraint) {
$constraint = $package->getVersion();
}
$constraint = $this->versionParser->parseConstraints($constraint);
$links[] = new Package\Link($package->getName(), $packageName, $constraint, $description, $constraint);
$parsedConstraint = $this->versionParser->parseConstraints($constraint);
$links[] = new Package\Link($package->getName(), $packageName, $parsedConstraint, $description, $constraint);
}
return $links;