From d1cab8262288939ca2ca72dbe5e3f7944c907e81 Mon Sep 17 00:00:00 2001 From: Matt Young Date: Tue, 16 Jul 2024 00:09:10 -0500 Subject: [PATCH] Bonus Score Use #20 Implement bonus scores Bonus score is now included in total scores for seating. --- app/Actions/Tabulation/AllowForOlympicScoring.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Actions/Tabulation/AllowForOlympicScoring.php b/app/Actions/Tabulation/AllowForOlympicScoring.php index a4fda12..f60b3af 100644 --- a/app/Actions/Tabulation/AllowForOlympicScoring.php +++ b/app/Actions/Tabulation/AllowForOlympicScoring.php @@ -89,6 +89,7 @@ class AllowForOlympicScoring implements CalculateEntryScore if (! $bonusScoreDefinition) { return 0; } + /** @noinspection PhpPossiblePolymorphicInvocationInspection */ $bonusJudges = $bonusScoreDefinition->judges; $bonusScoreSheets = BonusScore::where('entry_id', $entry->id)->get(); foreach ($bonusScoreSheets as $sheet) {