Merge branch 'PHP-8.0'

* Fix return type of SessionHandler::read()
This commit is contained in:
Máté Kocsis 2021-04-20 11:57:48 +02:00
commit ec3bdd3ba8
No known key found for this signature in database
GPG key ID: FD055E41728BF310
2 changed files with 3 additions and 3 deletions

View file

@ -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 */

View file

@ -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")