소스 검색

Fix usage

Jordi Boggiano 4 년 전
부모
커밋
1d68e85433
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Composer/Command/CreateProjectCommand.php

+ 1 - 1
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");