mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Merge branch 'PHP-8.0'
* Fix return type of SessionHandler::read()
This commit is contained in:
commit
ec3bdd3ba8
2 changed files with 3 additions and 3 deletions
|
@ -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 */
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue