diff --git a/ext/session/session.stub.php b/ext/session/session.stub.php index c8f7308b137..53f74680d75 100644 --- a/ext/session/session.stub.php +++ b/ext/session/session.stub.php @@ -71,7 +71,7 @@ interface SessionHandlerInterface /** @return bool */ public function close(); - /** @return string */ + /** @return string|false */ public function read(string $id); /** @return bool */ @@ -107,7 +107,7 @@ class SessionHandler implements SessionHandlerInterface, SessionIdInterface /** @return bool */ public function close() {} - /** @return string */ + /** @return string|false */ public function read(string $id) {} /** @return bool */ diff --git a/ext/session/session_arginfo.h b/ext/session/session_arginfo.h index 54024ca59b7..89c37070095 100644 --- a/ext/session/session_arginfo.h +++ b/ext/session/session_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: 84df891ffafa76a34679f4d298f1a1e91a5c23bf */ + * Stub hash: 9da20561a8281bb762b035f1e2ef8b3c866dda35 */ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_session_name, 0, 0, MAY_BE_STRING|MAY_BE_FALSE) ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, name, IS_STRING, 1, "null")