mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fix return type of SessionHandler::gc()
Relates to GH-7006
This commit is contained in:
parent
b165197f0f
commit
6fb08f4607
2 changed files with 3 additions and 3 deletions
|
@ -80,7 +80,7 @@ interface SessionHandlerInterface
|
|||
/** @return bool */
|
||||
public function destroy(string $id);
|
||||
|
||||
/** @return int|bool */
|
||||
/** @return int|false */
|
||||
public function gc(int $max_lifetime);
|
||||
}
|
||||
|
||||
|
@ -116,7 +116,7 @@ class SessionHandler implements SessionHandlerInterface, SessionIdInterface
|
|||
/** @return bool */
|
||||
public function destroy(string $id) {}
|
||||
|
||||
/** @return int|bool */
|
||||
/** @return int|false */
|
||||
public function gc(int $max_lifetime) {}
|
||||
|
||||
/** @return string */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* This is a generated file, edit the .stub.php file instead.
|
||||
* Stub hash: 88f428841bc3e12b949a3308d60eae80d87e563a */
|
||||
* Stub hash: 4221e895bdb0c3e903b7688f79e2863fc0788cee */
|
||||
|
||||
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