Skip to content

Commit d91a741

Browse files
fix the issue with composer 1
1 parent 61c51f7 commit d91a741

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/Utils/Version.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public function findBestCandidateComposer1(Composer $composer, string $packageNa
6969
}
7070
$pool = new Pool($minStability, $stabilityFlags);
7171
$pool->addRepository($repository);
72-
return (new VersionSelector($pool))->findBestCandidate($packageName, null, self::STABILITY_DEV);
72+
return (new VersionSelector($pool))->findBestCandidate($packageName, null, null, self::STABILITY_DEV);
7373
}
7474

7575
/**

0 commit comments

Comments
 (0)