]> granicus.if.org Git - php/commitdiff
Fix return type of DateTimeImmutable::__set_state()
authorMáté Kocsis <kocsismate@woohoolabs.com>
Sun, 15 Nov 2020 23:23:47 +0000 (00:23 +0100)
committerMáté Kocsis <kocsismate@woohoolabs.com>
Mon, 28 Dec 2020 13:45:13 +0000 (14:45 +0100)
ext/date/php_date.stub.php
ext/date/php_date_arginfo.h

index 2519e4ed5d086fb608b042c7ed0798327e7223d1..fef4ffb02f070cc625a807a6dcad63180838b2c4 100644 (file)
@@ -251,7 +251,7 @@ class DateTimeImmutable implements DateTimeInterface
     /** @return void */
     public function __wakeup() {}
 
-    /** @return DateTimeZone */
+    /** @return DateTimeImmutable */
     public static function __set_state(array $array) {}
 
     /**
index 49b97a2ac6fd111184087dfe1a6b1aaabc7f236a..7be0de2e0214f4f132653a937b69a80aaa84ef3d 100644 (file)
@@ -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)