diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-04-05 10:26:04 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-04-05 10:26:04 +0200 |
commit | 64d400b5df2a70df1899ade3ebcac0558b0001ea (patch) | |
tree | 060217dc5bba1bac98da89ed07c0756bdd1ccb60 /lib/public/iusermanager.php | |
parent | 2a7e9f08ff5951c0fba8524ba76fe56ce95ada57 (diff) | |
download | nextcloud-server-64d400b5df2a70df1899ade3ebcac0558b0001ea.tar.gz nextcloud-server-64d400b5df2a70df1899ade3ebcac0558b0001ea.zip |
Prevent null to be passed into the closure of callForAllUsers
Diffstat (limited to 'lib/public/iusermanager.php')
-rw-r--r-- | lib/public/iusermanager.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/public/iusermanager.php b/lib/public/iusermanager.php index 057bd8e89fb..6442938a99b 100644 --- a/lib/public/iusermanager.php +++ b/lib/public/iusermanager.php @@ -90,12 +90,12 @@ interface IUserManager { /** * Check if the password is valid for the user * - * @param string $loginname + * @param string $loginName * @param string $password * @return mixed the User object on success, false otherwise * @since 8.0.0 */ - public function checkPassword($loginname, $password); + public function checkPassword($loginName, $password); /** * search by user id @@ -138,7 +138,7 @@ interface IUserManager { /** * @param \Closure $callback - * @return void + * @param string $search * @since 9.0.0 */ public function callForAllUsers (\Closure $callback, $search = ''); |