Abort loop correctly when package is a match
parent
5b41b78809
commit
a2eb0bab12
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue