summaryrefslogtreecommitdiffstats
path: root/lib/public/IUser.php
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-05-23 11:41:21 +0200
committerGitHub <noreply@github.com>2022-05-23 11:41:21 +0200
commit8d599c341023c5fe850da9bdbc3807a277a61151 (patch)
treebed44e448d398db054b4a6e8ed1a6102ef49d288 /lib/public/IUser.php
parent384efc8958ab9bf1738e4fd5925c8b3e451c3f0f (diff)
parent9ec0cb0a90ecdc7f4181ce8399bfe0c3a35842a2 (diff)
downloadnextcloud-server-8d599c341023c5fe850da9bdbc3807a277a61151.tar.gz
nextcloud-server-8d599c341023c5fe850da9bdbc3807a277a61151.zip
Merge pull request #32378 from nextcloud/fix/psalm-userbackend
Fix psalm issues related to the user backend
Diffstat (limited to 'lib/public/IUser.php')
-rw-r--r--lib/public/IUser.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/public/IUser.php b/lib/public/IUser.php
index 1a1d1e44d8a..ce9cf0096ec 100644
--- a/lib/public/IUser.php
+++ b/lib/public/IUser.php
@@ -113,10 +113,9 @@ interface IUser {
/**
* Get the backend for the current user object
*
- * @return UserInterface
* @since 15.0.0
*/
- public function getBackend();
+ public function getBackend(): ?UserInterface;
/**
* check if the backend allows the user to change his avatar on Personal page