Ver código fonte

Fix reference to invalid branch name variable

Jeremy Mikola 14 anos atrás
pai
commit
be6b748426
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/Composer/Package/Version/VersionParser.php

+ 1 - 1
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);
     }
 
     /**