summaryrefslogtreecommitdiff
path: root/ext/date/php_date.stub.php
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2021-01-18 14:39:51 +0100
committerNikita Popov <nikita.ppv@gmail.com>2021-01-18 14:39:51 +0100
commit49e030d551472143d7f3ac47d8d710105d5db958 (patch)
treeb97b5aab3e8c6fad5c23787de7920f849b5987ae /ext/date/php_date.stub.php
parent0f26f9b34058239d0ed1e270163081f2acbecffb (diff)
parentebf461a025411834cf417e50163c2b334123f66e (diff)
downloadphp-git-49e030d551472143d7f3ac47d8d710105d5db958.tar.gz
Merge branch 'PHP-8.0'
* PHP-8.0: Sync datefmt_get_calendar_object signature Sync intlcal_create_instance() and IntlCalendar::createInstance() Sync date_diff and DateTime::diff return type
Diffstat (limited to 'ext/date/php_date.stub.php')
-rw-r--r--ext/date/php_date.stub.php4
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) {}