From e3609340f2f9729ccdf3e74400497a3a66536577 Mon Sep 17 00:00:00 2001 From: Jeppe Krogh Date: Mon, 6 Jan 2025 10:27:15 +0100 Subject: [PATCH] Removed duplicate definitions of sum arrays --- src/Service/WorkloadReportService.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Service/WorkloadReportService.php b/src/Service/WorkloadReportService.php index 1a72b680..b8e4a621 100644 --- a/src/Service/WorkloadReportService.php +++ b/src/Service/WorkloadReportService.php @@ -58,8 +58,6 @@ public function getWorkloadReport(int $year, PeriodTypeEnum $viewPeriodType = Pe $currentPeriodReached = false; $expectedWorkloadSum = 0; $loggedHoursSum = 0; - $periodSums = []; - $periodCounts = []; foreach ($periods as $period) { // Add current period match-point (current week-number, month-number etc.)