diff options
author | Morris Jobke <hey@morrisjobke.de> | 2020-08-19 17:54:00 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2020-08-19 18:16:35 +0200 |
commit | fedf9c69d9c84fc0399badef39ed765de72c08f1 (patch) | |
tree | bfaae1e7efb907cb236769fada35a9cd05ebf29e /lib/public | |
parent | 60be722ee8781d9e94ecc66d62c0e5fcb7e3934e (diff) | |
download | nextcloud-server-fedf9c69d9c84fc0399badef39ed765de72c08f1.tar.gz nextcloud-server-fedf9c69d9c84fc0399badef39ed765de72c08f1.zip |
Use matching parameter names form interfaces and implementations
Found by Psalm 3.14.1
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/IUserSession.php | 4 | ||||
-rw-r--r-- | lib/public/User/Backend/ICheckPasswordBackend.php | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/public/IUserSession.php b/lib/public/IUserSession.php index d71cde72b30..17c751127fa 100644 --- a/lib/public/IUserSession.php +++ b/lib/public/IUserSession.php @@ -46,12 +46,12 @@ interface IUserSession { /** * Do a user login * - * @param string $user the username + * @param string $uid the username * @param string $password the password * @return bool true if successful * @since 6.0.0 */ - public function login($user, $password); + public function login($uid, $password); /** * Logs the user out including all the session data diff --git a/lib/public/User/Backend/ICheckPasswordBackend.php b/lib/public/User/Backend/ICheckPasswordBackend.php index 1dbd0f01866..ff28a2feb60 100644 --- a/lib/public/User/Backend/ICheckPasswordBackend.php +++ b/lib/public/User/Backend/ICheckPasswordBackend.php @@ -33,7 +33,7 @@ interface ICheckPasswordBackend { /** * @since 14.0.0 * - * @param string $uid The username + * @param string $loginName The loginname * @param string $password The password * @return string|bool The uid on success false on failure */ |