Skip to content

Commit

Permalink
Fix stub for Serializable::serialize()
Browse files Browse the repository at this point in the history
This method may also return null.
  • Loading branch information
mvorisek authored and nikic committed Jan 28, 2021
1 parent 17142ea commit 27eb816
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Zend/zend_interfaces.stub.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function offsetUnset(mixed $offset);

interface Serializable
{
/** @return string */
/** @return string|null */
public function serialize();

/** @return void */
Expand Down
2 changes: 1 addition & 1 deletion Zend/zend_interfaces_arginfo.h
Original file line number Diff line number Diff line change
@@ -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()
Expand Down

0 comments on commit 27eb816

Please sign in to comment.