Show -t incorrectly expanded self.version constraints. Fixes #4999
parent
f2d606ae0c
commit
a3b2628748
|
@ -297,7 +297,7 @@ EOT
|
||||||
{
|
{
|
||||||
$name = strtolower($name);
|
$name = strtolower($name);
|
||||||
$constraint = null;
|
$constraint = null;
|
||||||
if ($version) {
|
if (is_string($version)) {
|
||||||
$constraint = $this->versionParser->parseConstraints($version);
|
$constraint = $this->versionParser->parseConstraints($version);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue