diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2014-04-21 15:44:54 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2014-04-21 15:44:54 +0200 |
commit | e88731a477991f54120939724da3c8a455c48b97 (patch) | |
tree | b33e14f6bce285890135bce4bdd3ab8099d6819b /lib/private/user.php | |
parent | 4fe5ca1908757781872133c7140f4c8848e94ac6 (diff) | |
download | nextcloud-server-e88731a477991f54120939724da3c8a455c48b97.tar.gz nextcloud-server-e88731a477991f54120939724da3c8a455c48b97.zip |
Some more PHPDoc fixes
Diffstat (limited to 'lib/private/user.php')
-rw-r--r-- | lib/private/user.php | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/lib/private/user.php b/lib/private/user.php index dc4c7ec3b61..7106d664aca 100644 --- a/lib/private/user.php +++ b/lib/private/user.php @@ -37,6 +37,10 @@ * logout() */ class OC_User { + + /** + * @return \OC\User\Session + */ public static function getUserSession() { return OC::$server->getUserSession(); } @@ -220,8 +224,8 @@ class OC_User { /** * @brief Try to login a user - * @param $uid The username of the user to log in - * @param $password The password of the user + * @param string $uid The username of the user to log in + * @param string $password The password of the user * @return boolean|null * * Log in a user and regenerate a new session - if the password is ok @@ -291,6 +295,8 @@ class OC_User { /** * @brief Sets user display name for session * @param string $uid + * @param null $displayName + * @return bool Whether the display name could get set */ public static function setDisplayName($uid, $displayName = null) { if (is_null($displayName)) { @@ -514,6 +520,7 @@ class OC_User { * @returns array with all uids * * Get a list of all users. + * @param string $search * @param integer $limit * @param integer $offset */ |