summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Voříšek <mvorisek@mvorisek.cz>2021-01-27 13:54:15 +0100
committerNikita Popov <nikita.ppv@gmail.com>2021-01-28 10:15:07 +0100
commit27eb81604bf3b78b1f2dc46fb4d0ca763294f33b (patch)
tree5eabfdbe7e170536c66b28a3fb3b5e0bdcd295cf
parent17142eab22152df8ef3ee6f0d369b87eb87a3f5f (diff)
downloadphp-git-27eb81604bf3b78b1f2dc46fb4d0ca763294f33b.tar.gz
Fix stub for Serializable::serialize()
This method may also return null.
-rw-r--r--Zend/zend_interfaces.stub.php2
-rw-r--r--Zend/zend_interfaces_arginfo.h2
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()