From 1d68e85433c50d84c166ec964b23679b049b5d0c Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Mon, 4 May 2020 22:04:57 +0200 Subject: [PATCH] Fix usage --- src/Composer/Command/CreateProjectCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Command/CreateProjectCommand.php b/src/Composer/Command/CreateProjectCommand.php index 2b3c7b20d..e79ed8a7d 100644 --- a/src/Composer/Command/CreateProjectCommand.php +++ b/src/Composer/Command/CreateProjectCommand.php @@ -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");