1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-10 17:12:51 +00:00

Type annotations

This commit is contained in:
Jordi Boggiano 2021-10-16 11:13:29 +02:00
parent 6d5f6eb090
commit 9599eb613b
No known key found for this signature in database
GPG key ID: 7BBD42C429EC80BC
13 changed files with 145 additions and 17 deletions

View file

@ -304,6 +304,9 @@ EOT
throw new \RuntimeException('Installation aborted.');
}
/**
* @return Link
*/
private function appendConstraintToLink(Link $link, $constraint)
{
$parser = new VersionParser;