Fix return type of DateTimeImmutable::__set_state()

This commit is contained in:
Máté Kocsis 2020-11-16 00:23:47 +01:00
parent 9cec093b7f
commit 46a2c6a8d7
No known key found for this signature in database
GPG key ID: FD055E41728BF310
2 changed files with 2 additions and 2 deletions

View file

@ -251,7 +251,7 @@ class DateTimeImmutable implements DateTimeInterface
/** @return void */ /** @return void */
public function __wakeup() {} public function __wakeup() {}
/** @return DateTimeZone */ /** @return DateTimeImmutable */
public static function __set_state(array $array) {} public static function __set_state(array $array) {}
/** /**

View file

@ -1,5 +1,5 @@
/* This is a generated file, edit the .stub.php file instead. /* 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_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) ZEND_ARG_TYPE_INFO(0, datetime, IS_STRING, 0)