aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Connector/Sabre/Auth.php
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-05-06 00:01:08 +0200
committerCarl Schwan <carl@carlschwan.eu>2022-05-16 11:05:54 +0200
commitf7be76125f885d66caac4a8d6697e121dce52708 (patch)
tree5abff07b0daa376ef90ad60b648611d2fc82d809 /apps/dav/lib/Connector/Sabre/Auth.php
parent829490ab7a02579c6b31573c3f53428e86cbf2e0 (diff)
downloadnextcloud-server-f7be76125f885d66caac4a8d6697e121dce52708.tar.gz
nextcloud-server-f7be76125f885d66caac4a8d6697e121dce52708.zip
Fix more psalm issues
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'apps/dav/lib/Connector/Sabre/Auth.php')
-rw-r--r--apps/dav/lib/Connector/Sabre/Auth.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/Connector/Sabre/Auth.php b/apps/dav/lib/Connector/Sabre/Auth.php
index 1588e5a2e6c..1610c554b9b 100644
--- a/apps/dav/lib/Connector/Sabre/Auth.php
+++ b/apps/dav/lib/Connector/Sabre/Auth.php
@@ -54,7 +54,7 @@ class Auth extends AbstractBasic {
private ISession $session;
private Session $userSession;
private IRequest $request;
- private string $currentUser;
+ private ?string $currentUser = null;
private Manager $twoFactorManager;
private Throttler $throttler;