mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fix return type of SessionHandler::read()
This commit is contained in:
parent
8a7b786b7f
commit
ffb1ff371c
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: 8175feea632f2832e43d830e70dc9332377b9f22 */
|
||||
* Stub hash: 88f428841bc3e12b949a3308d60eae80d87e563a */
|
||||
|
||||
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