1
0
Fork 0

Abort loop correctly when package is a match

pull/8669/head
Jordi Boggiano 2020-02-18 08:28:35 +01:00
parent 5b41b78809
commit a2eb0bab12
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ class InstalledRepository extends CompositeRepository
&& ($constraint === null || $link->getConstraint() === null || $constraint->matches($link->getConstraint())) && ($constraint === null || $link->getConstraint() === null || $constraint->matches($link->getConstraint()))
) { ) {
$matches[] = $candidate; $matches[] = $candidate;
continue; continue 2;
} }
} }
} }