From b8a9bf7b603942191720ee4bea94237af0496178 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Mon, 28 Nov 2011 20:58:16 +0100 Subject: [PATCH] Fix typo --- src/Composer/Package/Loader/ArrayLoader.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Composer/Package/Loader/ArrayLoader.php b/src/Composer/Package/Loader/ArrayLoader.php index a68d3e3b5..68afaa7ff 100644 --- a/src/Composer/Package/Loader/ArrayLoader.php +++ b/src/Composer/Package/Loader/ArrayLoader.php @@ -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;