$overdue * @param list $soon * @param list $thisWeek * @param list $jobs */ public function __construct( public array $overdue, public array $soon, public array $thisWeek, public int $laterCount, public array $jobs, public int $jobCount, public WeekHours $week, ) {} public function hasTasks(): bool { return $this->overdue !== [] || $this->soon !== [] || $this->thisWeek !== [] || $this->laterCount > 0; } }