From 1166c348f496ba4aa0f5625850a934d1cc7e81e6 Mon Sep 17 00:00:00 2001 From: Alban Baixas Date: Sun, 30 Jan 2022 10:46:54 +0100 Subject: [PATCH] Restore previous type definition --- stubs/date.stub | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/stubs/date.stub b/stubs/date.stub index 1c4b95dcae7..8704a65061f 100644 --- a/stubs/date.stub +++ b/stubs/date.stub @@ -11,8 +11,8 @@ class DateInterval } /** - * @template TEnd - * @template TRecurrences + * @template TEnd of ?DateTimeInterface + * @template TRecurrences of ?int */ class DatePeriod { @@ -20,7 +20,7 @@ class DatePeriod /** * @return TEnd */ - public function getEndDate(): ?DateTimeInterface + public function getEndDate() { } @@ -28,7 +28,7 @@ class DatePeriod /** * @return TRecurrences */ - public function getRecurrences(): ?int + public function getRecurrences() { }