From be6b748426c3388b2dbc6aa90381aa787972101a Mon Sep 17 00:00:00 2001 From: Jeremy Mikola Date: Wed, 16 Nov 2011 01:03:01 -0500 Subject: [PATCH] Fix reference to invalid branch name variable --- src/Composer/Package/Version/VersionParser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Package/Version/VersionParser.php b/src/Composer/Package/Version/VersionParser.php index 725ee7d7f..54d3ed1a6 100644 --- a/src/Composer/Package/Version/VersionParser.php +++ b/src/Composer/Package/Version/VersionParser.php @@ -97,7 +97,7 @@ class VersionParser return str_replace('x', '9999999', $version).'-dev'; } - throw new \UnexpectedValueException('Invalid branch name '.$branch); + throw new \UnexpectedValueException('Invalid branch name '.$name); } /**