Fix usage

main
Jordi Boggiano 4 years ago committed by GitHub
parent 8a2dd1baef
commit 1d68e85433
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save