diff options
author | provokateurin <kate@provokateurin.de> | 2024-10-18 12:40:17 +0200 |
---|---|---|
committer | provokateurin <kate@provokateurin.de> | 2024-10-21 12:37:59 +0200 |
commit | e8426996f59ab6dbf0c94adee8f410cbd572b11a (patch) | |
tree | 70f296c1177c9632865688a54f7f68e5524ccc67 /apps/files_external | |
parent | 381077028adf388a7081cf42026570c6be47b198 (diff) | |
download | nextcloud-server-e8426996f59ab6dbf0c94adee8f410cbd572b11a.tar.gz nextcloud-server-e8426996f59ab6dbf0c94adee8f410cbd572b11a.zip |
fix(psalm): Fix some newly detected issuesrefactor/apps/constructor-property-promotion
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'apps/files_external')
-rw-r--r-- | apps/files_external/lib/Config/UserContext.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/lib/Config/UserContext.php b/apps/files_external/lib/Config/UserContext.php index 55193c8ef24..6fe679c60b2 100644 --- a/apps/files_external/lib/Config/UserContext.php +++ b/apps/files_external/lib/Config/UserContext.php @@ -37,7 +37,7 @@ class UserContext { if ($this->userId !== null) { return $this->userId; } - if ($this->session && $this->session->getUser() !== null) { + if ($this->session->getUser() !== null) { return $this->session->getUser()->getUID(); } try { |