Skip to content

Commit ec3bdd3

Browse files
committed
Merge branch 'PHP-8.0'
* Fix return type of SessionHandler::read()
2 parents 3717346 + ffb1ff3 commit ec3bdd3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ext/session/session.stub.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public function open(string $path, string $name);
7171
/** @return bool */
7272
public function close();
7373

74-
/** @return string */
74+
/** @return string|false */
7575
public function read(string $id);
7676

7777
/** @return bool */
@@ -107,7 +107,7 @@ public function open(string $path, string $name) {}
107107
/** @return bool */
108108
public function close() {}
109109

110-
/** @return string */
110+
/** @return string|false */
111111
public function read(string $id) {}
112112

113113
/** @return bool */

ext/session/session_arginfo.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* This is a generated file, edit the .stub.php file instead.
2-
* Stub hash: 84df891ffafa76a34679f4d298f1a1e91a5c23bf */
2+
* Stub hash: 9da20561a8281bb762b035f1e2ef8b3c866dda35 */
33

44
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_session_name, 0, 0, MAY_BE_STRING|MAY_BE_FALSE)
55
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, name, IS_STRING, 1, "null")

0 commit comments

Comments
 (0)