1
0
Fork 0

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

pull/5001/head
Niels Keurentjes 2016-03-04 08:20:35 +01:00
parent f2d606ae0c
commit a3b2628748
1 changed files with 1 additions and 1 deletions

View File

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