Skip to content

Commit

Permalink
Fix return type of SessionHandler::gc()
Browse files Browse the repository at this point in the history
Relates to GH-7006
  • Loading branch information
kocsismate committed May 27, 2021
1 parent b165197 commit 6fb08f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ext/session/session.stub.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public function write(string $id, string $data);
/** @return bool */
public function destroy(string $id);

/** @return int|bool */
/** @return int|false */
public function gc(int $max_lifetime);
}

Expand Down Expand Up @@ -116,7 +116,7 @@ public function write(string $id, string $data) {}
/** @return bool */
public function destroy(string $id) {}

/** @return int|bool */
/** @return int|false */
public function gc(int $max_lifetime) {}

/** @return string */
Expand Down
2 changes: 1 addition & 1 deletion ext/session/session_arginfo.h
Original file line number Diff line number Diff line change
@@ -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")
Expand Down

0 comments on commit 6fb08f4

Please sign in to comment.