From 27eb81604bf3b78b1f2dc46fb4d0ca763294f33b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michael=20Vo=C5=99=C3=AD=C5=A1ek?= Date: Wed, 27 Jan 2021 13:54:15 +0100 Subject: [PATCH] Fix stub for Serializable::serialize() This method may also return null. --- Zend/zend_interfaces.stub.php | 2 +- Zend/zend_interfaces_arginfo.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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() -- 2.50.1