1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 08:32:56 +00:00

Show -t incorrectly expanded self.version constraints. Fixes #4999

This commit is contained in:
Niels Keurentjes 2016-03-04 08:20:35 +01:00
parent f2d606ae0c
commit a3b2628748

View file

@ -297,7 +297,7 @@ EOT
{
$name = strtolower($name);
$constraint = null;
if ($version) {
if (is_string($version)) {
$constraint = $this->versionParser->parseConstraints($version);
}