]> granicus.if.org Git - php/commitdiff
Fix stub for Serializable::serialize()
authorMichael Voříšek <mvorisek@mvorisek.cz>
Wed, 27 Jan 2021 12:54:15 +0000 (13:54 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Thu, 28 Jan 2021 09:15:07 +0000 (10:15 +0100)
This method may also return null.

Zend/zend_interfaces.stub.php
Zend/zend_interfaces_arginfo.h

index f58d8abc2058a4e7271429f532c206ce730e90aa..8b2cdae981389a41ac38f89f2710ce9c29a640c9 100644 (file)
@@ -48,7 +48,7 @@ interface ArrayAccess
 
 interface Serializable
 {
-    /** @return string */
+    /** @return string|null */
     public function serialize();
 
     /** @return void */
index 71dc72b95c64bffa92a5738fc6e1b2684b0b7874..8a66da163607bb517b54a502f6802b9c9911d2fb 100644 (file)
@@ -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()