From: Michael Voříšek Date: Wed, 27 Jan 2021 12:54:15 +0000 (+0100) Subject: Fix stub for Serializable::serialize() X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=27eb81604bf3b78b1f2dc46fb4d0ca763294f33b;p=php Fix stub for Serializable::serialize() This method may also return null. --- diff --git a/Zend/zend_interfaces.stub.php b/Zend/zend_interfaces.stub.php index f58d8abc20..8b2cdae981 100644 --- a/Zend/zend_interfaces.stub.php +++ b/Zend/zend_interfaces.stub.php @@ -48,7 +48,7 @@ interface ArrayAccess interface Serializable { - /** @return string */ + /** @return string|null */ public function serialize(); /** @return void */ diff --git a/Zend/zend_interfaces_arginfo.h b/Zend/zend_interfaces_arginfo.h index 71dc72b95c..8a66da1636 100644 --- a/Zend/zend_interfaces_arginfo.h +++ b/Zend/zend_interfaces_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: 29a5ed0b859b0732074c81cf9d26047a6eb9059a */ + * Stub hash: c6ef101bd3881348a74b60cecd22d1d7f80017c8 */ ZEND_BEGIN_ARG_INFO_EX(arginfo_class_IteratorAggregate_getIterator, 0, 0, 0) ZEND_END_ARG_INFO()