concludesOn(); } public function concludesAfter(): int | null { return !empty($this->dates) ? count($this->dates) : null; } public function concludesOn(): DateTime | null { if (count($this->dates) > 0) { return new DateTime( $this->dates[array_key_last($this->dates)], $this->startDate->getTimezone() ); } return null; } }