diff options
Diffstat (limited to 'lib/public/user.php')
-rw-r--r-- | lib/public/user.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/public/user.php b/lib/public/user.php index e79ad4e7190..925410d37d5 100644 --- a/lib/public/user.php +++ b/lib/public/user.php @@ -45,9 +45,9 @@ class User { /** * Get a list of all users - * @param string search pattern - * @param integer $limit - * @param integer $offset + * @param string $search search pattern + * @param int|null $limit + * @param int|null $offset * @return array an array of all uids */ public static function getUsers( $search = '', $limit = null, $offset = null ) { @@ -56,7 +56,7 @@ class User { /** * Get the user display name of the user currently logged in. - * @param string user id or null for current user + * @param string|null $user user id or null for current user * @return string display name */ public static function getDisplayName( $user = null ) { @@ -65,9 +65,9 @@ class User { /** * Get a list of all display names and user ids. - * @param string search pattern - * @param int limit - * @param int offset + * @param string $search search pattern + * @param int|null $limit + * @param int|null $offset * @return array an array of all display names (value) and the correspondig uids (key) */ public static function getDisplayNames( $search = '', $limit = null, $offset = null ) { |