File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
CodeIgniter/Framework/libraries/Session Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 4646 * @subpackage Libraries
4747 * @category Sessions
4848 * @author Andrey Andreev
49+ * @author Kwame Oteng Appiah-Nti
4950 * @link https://codeigniter.com/userguide3/libraries/sessions.html
5051 */
5152class CI_PHP8SessionWrapper implements SessionHandlerInterface, SessionUpdateTimestampHandlerInterface
@@ -69,7 +70,7 @@ public function close(): bool
6970 }
7071
7172 #[\ReturnTypeWillChange]
72- public function read (string $ id ): mixed
73+ public function read (string $ id ): string | false
7374 {
7475 return $ this ->driver ->read ($ id );
7576 }
@@ -85,7 +86,7 @@ public function destroy(string $id): bool
8586 }
8687
8788 #[\ReturnTypeWillChange]
88- public function gc (int $ maxlifetime ): mixed
89+ public function gc (int $ maxlifetime ): int | false
8990 {
9091 return $ this ->driver ->gc ($ maxlifetime );
9192 }
Original file line number Diff line number Diff line change 4646 * @subpackage Libraries
4747 * @category Sessions
4848 * @author Andrey Andreev
49+ * @author Kwame Oteng Appiah-Nti
4950 * @link https://codeigniter.com/userguide3/libraries/sessions.html
5051 */
5152class CI_Session
You can’t perform that action at this time.
0 commit comments