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/IUserManager.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/IUserManager.php')
-rw-r--r-- | lib/public/IUserManager.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/public/IUserManager.php b/lib/public/IUserManager.php index e5c220af40c..77e2fc21a22 100644 --- a/lib/public/IUserManager.php +++ b/lib/public/IUserManager.php @@ -98,7 +98,7 @@ interface IUserManager { * * @param string $loginName * @param string $password - * @return mixed the User object on success, false otherwise + * @return IUser|false the User object on success, false otherwise * @since 8.0.0 */ public function checkPassword($loginName, $password); @@ -141,7 +141,7 @@ interface IUserManager { * @param string $uid * @param string $password * @throws \InvalidArgumentException - * @return bool|\OCP\IUser the created user or false + * @return false|\OCP\IUser the created user or false * @since 8.0.0 */ public function createUser($uid, $password); @@ -157,9 +157,9 @@ interface IUserManager { public function createUserFromBackend($uid, $password, UserInterface $backend); /** - * returns how many users per backend exist (if supported by backend) + * Get how many users per backend exist (if supported by backend) * - * @return array an array of backend class as key and count number as value + * @return array<string, int> an array of backend class name as key and count number as value * @since 8.0.0 */ public function countUsers(); |