aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-12-10 17:04:18 +0000
committerMario <mario@mariovavti.com>2022-12-10 17:04:18 +0000
commit0ee41c3341865a7708fb6fab27694a2487a3256b (patch)
treea51e554017e6a17fe4e08a5995dce5cb7b41646c /Zotlabs
parente1c28351734d175476bc8f0d6cdf261dee3c07e0 (diff)
parent5c6d3753efc5b2534dbfd69a43c30d05bfc9096b (diff)
downloadvolse-hubzilla-0ee41c3341865a7708fb6fab27694a2487a3256b.tar.gz
volse-hubzilla-0ee41c3341865a7708fb6fab27694a2487a3256b.tar.bz2
volse-hubzilla-0ee41c3341865a7708fb6fab27694a2487a3256b.zip
Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Web/SessionRedis.php11
1 files changed, 6 insertions, 5 deletions
diff --git a/Zotlabs/Web/SessionRedis.php b/Zotlabs/Web/SessionRedis.php
index 66eb7a02d..f32e6a4f4 100644
--- a/Zotlabs/Web/SessionRedis.php
+++ b/Zotlabs/Web/SessionRedis.php
@@ -42,7 +42,7 @@ class SessionRedis implements \SessionHandlerInterface {
}
}
-
+ #[\ReturnTypeWillChange]
function open($s, $n) {
return true;
@@ -53,6 +53,7 @@ class SessionRedis implements \SessionHandlerInterface {
// some which call read explicitly and some that do not. So we call it explicitly
// just after sid regeneration to force a record to exist.
+ #[\ReturnTypeWillChange]
function read($id) {
if ($id) {
@@ -67,7 +68,7 @@ class SessionRedis implements \SessionHandlerInterface {
return '';
}
-
+ #[\ReturnTypeWillChange]
function write($id, $data) {
// Pretend everything is hunky-dory, even though it isn't.
@@ -100,13 +101,13 @@ class SessionRedis implements \SessionHandlerInterface {
return true;
}
-
+ #[\ReturnTypeWillChange]
function close() {
return true;
}
-
+ #[\ReturnTypeWillChange]
function destroy ($id) {
$this->redis->del($id);
@@ -114,7 +115,7 @@ class SessionRedis implements \SessionHandlerInterface {
return true;
}
-
+ #[\ReturnTypeWillChange]
function gc($expire) {
return true;