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:
parent
f2d606ae0c
commit
a3b2628748
1 changed files with 1 additions and 1 deletions
|
@ -297,7 +297,7 @@ EOT
|
|||
{
|
||||
$name = strtolower($name);
|
||||
$constraint = null;
|
||||
if ($version) {
|
||||
if (is_string($version)) {
|
||||
$constraint = $this->versionParser->parseConstraints($version);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue