diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-05-23 11:41:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-23 11:41:21 +0200 |
commit | 8d599c341023c5fe850da9bdbc3807a277a61151 (patch) | |
tree | bed44e448d398db054b4a6e8ed1a6102ef49d288 /lib/public/IUser.php | |
parent | 384efc8958ab9bf1738e4fd5925c8b3e451c3f0f (diff) | |
parent | 9ec0cb0a90ecdc7f4181ce8399bfe0c3a35842a2 (diff) | |
download | nextcloud-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.php | 3 |
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 |