mirror of
https://github.com/composer/composer
synced 2025-05-09 16:42:57 +00:00
Fix usage
This commit is contained in:
parent
8a2dd1baef
commit
1d68e85433
1 changed files with 1 additions and 1 deletions
|
@ -344,7 +344,7 @@ EOT
|
|||
|
||||
// find the latest version if there are multiple
|
||||
$versionSelector = new VersionSelector($repositorySet, $platformRepo);
|
||||
$package = $versionSelector->findBestCandidate($name, $packageVersion, $phpVersion, $stability);
|
||||
$package = $versionSelector->findBestCandidate($name, $packageVersion, $stability);
|
||||
|
||||
if (!$package) {
|
||||
$errorMessage = "Could not find package $name with " . ($packageVersion ? "version $packageVersion" : "stability $stability");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue