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 GitHub
parent 2286b9f57d
commit 858118274d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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.',