fix: Apply suggestion from @julien-nc

Co-authored-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
Marcel Klehr 2025-10-14 11:22:03 +02:00 committed by backportbot[bot]
parent 53dcd65723
commit 3f14db81bb

View file

@ -65,7 +65,7 @@ class TaskProcessingSuccessRate implements ISetupCheck {
}
}
if ($failedCount / $taskCount < self::MAX_FAILURE_PERCENTAGE) {
if (($failedCount / $taskCount) < self::MAX_FAILURE_PERCENTAGE) {
return SetupResult::success(
$this->l10n->n(
'Most tasks were successful in the last %n hour.',