From 46a2c6a8d7d7d48e7f32c2738cdbae46ced0c65b Mon Sep 17 00:00:00 2001 From: =?utf8?q?M=C3=A1t=C3=A9=20Kocsis?= Date: Mon, 16 Nov 2020 00:23:47 +0100 Subject: [PATCH] Fix return type of DateTimeImmutable::__set_state() --- ext/date/php_date.stub.php | 2 +- ext/date/php_date_arginfo.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/date/php_date.stub.php b/ext/date/php_date.stub.php index 2519e4ed5d..fef4ffb02f 100644 --- a/ext/date/php_date.stub.php +++ b/ext/date/php_date.stub.php @@ -251,7 +251,7 @@ class DateTimeImmutable implements DateTimeInterface /** @return void */ public function __wakeup() {} - /** @return DateTimeZone */ + /** @return DateTimeImmutable */ public static function __set_state(array $array) {} /** diff --git a/ext/date/php_date_arginfo.h b/ext/date/php_date_arginfo.h index 49b97a2ac6..7be0de2e02 100644 --- a/ext/date/php_date_arginfo.h +++ b/ext/date/php_date_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: 7b23a03d3c4941fb9a614de62d80fa5b0e11d14b */ + * Stub hash: 339c2c91f38eeaafac6134ac04573243069502f5 */ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_strtotime, 0, 1, MAY_BE_LONG|MAY_BE_FALSE) ZEND_ARG_TYPE_INFO(0, datetime, IS_STRING, 0) -- 2.50.1