aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Session
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2024-02-05 18:08:26 +0100
committerCôme Chilliet <91878298+come-nc@users.noreply.github.com>2024-02-06 10:24:41 +0100
commitf73f966c98fc4ac6ede61d745dc09373820793b2 (patch)
treed3aaa2a500be9279b89ac9910d47e016b1c749db /lib/private/Session
parent52fd96d17c6d601db4815e322e5ac66bacd6e0b0 (diff)
downloadnextcloud-server-f73f966c98fc4ac6ede61d745dc09373820793b2.tar.gz
nextcloud-server-f73f966c98fc4ac6ede61d745dc09373820793b2.zip
chore: Add missing ArrayAccess template parameters
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/private/Session')
-rw-r--r--lib/private/Session/CryptoSessionData.php1
-rw-r--r--lib/private/Session/Session.php3
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/Session/CryptoSessionData.php b/lib/private/Session/CryptoSessionData.php
index 22d2aba0405..34aab2a5165 100644
--- a/lib/private/Session/CryptoSessionData.php
+++ b/lib/private/Session/CryptoSessionData.php
@@ -39,6 +39,7 @@ use function OCP\Log\logger;
* Class CryptoSessionData
*
* @package OC\Session
+ * @template-implements \ArrayAccess<string,mixed>
*/
class CryptoSessionData implements \ArrayAccess, ISession {
/** @var ISession */
diff --git a/lib/private/Session/Session.php b/lib/private/Session/Session.php
index b434461a335..04fc61fe610 100644
--- a/lib/private/Session/Session.php
+++ b/lib/private/Session/Session.php
@@ -29,6 +29,9 @@ namespace OC\Session;
use OCP\ISession;
+/**
+ * @template-implements \ArrayAccess<string,mixed>
+ */
abstract class Session implements \ArrayAccess, ISession {
/**
* @var bool