diff options
Diffstat (limited to 'ext/date/php_date.stub.php')
-rw-r--r-- | ext/date/php_date.stub.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/date/php_date.stub.php b/ext/date/php_date.stub.php index fef4ffb02f..cb01b7e073 100644 --- a/ext/date/php_date.stub.php +++ b/ext/date/php_date.stub.php @@ -238,7 +238,7 @@ class DateTime implements DateTimeInterface public function getTimestamp() {} /** - * @return DateInterval|false + * @return DateInterval * @alias date_diff */ public function diff(DateTimeInterface $targetObject, bool $absolute = false) {} @@ -291,7 +291,7 @@ class DateTimeImmutable implements DateTimeInterface public function getTimestamp() {} /** - * @return DateInterval|false + * @return DateInterval * @alias date_diff */ public function diff(DateTimeInterface $targetObject, bool $absolute = false) {} |