diff --git a/apps/user_ldap/user_ldap.php b/apps/user_ldap/user_ldap.php
index 014d60c73169f124b410faffefa9d9d70ae1447d..caff30a0e601b3445c034e12399af0f94032f20f 100644
--- a/apps/user_ldap/user_ldap.php
+++ b/apps/user_ldap/user_ldap.php
@@ -120,9 +120,11 @@ class USER_LDAP extends BackendUtility implements \OCP\IUserBackend, \OCP\UserIn
 
 	/**
 	 * Get a list of all users
-	 * @return string[] with all uids
 	 *
-	 * Get a list of all users.
+	 * @param string $search
+	 * @param null|int $limit
+	 * @param null|int $offset
+	 * @return string[] an array of all uids
 	 */
 	public function getUsers($search = '', $limit = 10, $offset = 0) {
 		$search = $this->access->escapeFilterPart($search, true);
@@ -328,9 +330,11 @@ class USER_LDAP extends BackendUtility implements \OCP\IUserBackend, \OCP\UserIn
 
 	/**
 	 * Get a list of all display names
-	 * @return array with all displayNames (value) and the correspondig uids (key)
 	 *
-	 * Get a list of all display names and user ids.
+	 * @param string $search
+	 * @param string|null $limit
+	 * @param string|null $offset
+	 * @return array an array of all displayNames (value) and the corresponding uids (key)
 	 */
 	public function getDisplayNames($search = '', $limit = null, $offset = null) {
 		$cacheKey = 'getDisplayNames-'.$search.'-'.$limit.'-'.$offset;
diff --git a/apps/user_ldap/user_proxy.php b/apps/user_ldap/user_proxy.php
index 53d453e54fd4305519e5693e3c87e872cdf4411d..683529eb902bf39ac2c5573d3ae1abcb62e34c4b 100644
--- a/apps/user_ldap/user_proxy.php
+++ b/apps/user_ldap/user_proxy.php
@@ -132,9 +132,11 @@ class User_Proxy extends lib\Proxy implements \OCP\IUserBackend, \OCP\UserInterf
 
 	/**
 	 * Get a list of all users
-	 * @return string[] with all uids
 	 *
-	 * Get a list of all users.
+	 * @param string $search
+	 * @param null|int $limit
+	 * @param null|int $offset
+	 * @return string[] an array of all uids
 	 */
 	public function getUsers($search = '', $limit = 10, $offset = 0) {
 		//we do it just as the /OC_User implementation: do not play around with limit and offset but ask all backends
@@ -208,10 +210,11 @@ class User_Proxy extends lib\Proxy implements \OCP\IUserBackend, \OCP\UserInterf
 	}
 
 	/**
-	 * Get a list of all display names
-	 * @return array with all displayNames (value) and the corresponding uids (key)
-	 *
 	 * Get a list of all display names and user ids.
+	 * @param string $search
+	 * @param string|null $limit
+	 * @param string|null $offset
+	 * @return array an array of all displayNames (value) and the corresponding uids (key)
 	 */
 	public function getDisplayNames($search = '', $limit = null, $offset = null) {
 		//we do it just as the /OC_User implementation: do not play around with limit and offset but ask all backends
diff --git a/lib/private/user/backend.php b/lib/private/user/backend.php
index 0775bc05588ebd263b77a05b1697193837baf09c..10bf3e28085959e2da39ddc791bd66992ee1b9e1 100644
--- a/lib/private/user/backend.php
+++ b/lib/private/user/backend.php
@@ -134,11 +134,13 @@ abstract class OC_User_Backend implements OC_User_Interface {
 	}
 
 	/**
-	* Get a list of all users
-	* @return array an array of all uids
-	*
-	* Get a list of all users.
-	*/
+	 * Get a list of all users
+	 *
+	 * @param string $search
+	 * @param null|int $limit
+	 * @param null|int $offset
+	 * @return string[] an array of all uids
+	 */
 	public function getUsers($search = '', $limit = null, $offset = null) {
 		return array();
 	}
@@ -171,10 +173,12 @@ abstract class OC_User_Backend implements OC_User_Interface {
 	}
 
 	/**
-	 * Get a list of all display names
-	 * @return array an array of  all displayNames (value) and the corresponding uids (key)
-	 *
 	 * Get a list of all display names and user ids.
+	 *
+	 * @param string $search
+	 * @param string|null $limit
+	 * @param string|null $offset
+	 * @return array an array of all displayNames (value) and the corresponding uids (key)
 	 */
 	public function getDisplayNames($search = '', $limit = null, $offset = null) {
 		$displayNames = array();
diff --git a/lib/private/user/database.php b/lib/private/user/database.php
index 0de062ba2ce9fecd22c07a84dada0229b5d20be4..3cf73f939e50f6bf739b833f48c1c01c6bafca8e 100644
--- a/lib/private/user/database.php
+++ b/lib/private/user/database.php
@@ -143,10 +143,12 @@ class OC_User_Database extends OC_User_Backend implements \OCP\IUserBackend {
 	}
 
 	/**
-	 * Get a list of all display names
-	 * @return array an array of  all displayNames (value) and the correspondig uids (key)
-	 *
 	 * Get a list of all display names and user ids.
+	 *
+	 * @param string $search
+	 * @param string|null $limit
+	 * @param string|null $offset
+	 * @return array an array of all displayNames (value) and the corresponding uids (key)
 	 */
 	public function getDisplayNames($search = '', $limit = null, $offset = null) {
 		$parameters = [];
@@ -224,9 +226,11 @@ class OC_User_Database extends OC_User_Backend implements \OCP\IUserBackend {
 
 	/**
 	 * Get a list of all users
-	 * @return array an array of all uids
 	 *
-	 * Get a list of all users.
+	 * @param string $search
+	 * @param null|int $limit
+	 * @param null|int $offset
+	 * @return string[] an array of all uids
 	 */
 	public function getUsers($search = '', $limit = null, $offset = null) {
 		$parameters = [];
diff --git a/lib/private/user/dummy.php b/lib/private/user/dummy.php
index 85552740facc0bd5ee3d8177562ba322f3e017a2..3779f7b5ddf247701e71c82049ad72c31d2c33e2 100644
--- a/lib/private/user/dummy.php
+++ b/lib/private/user/dummy.php
@@ -108,11 +108,9 @@ class OC_User_Dummy extends OC_User_Backend implements \OCP\IUserBackend {
 	 * Get a list of all users
 	 *
 	 * @param string $search
-	 * @param int $limit
-	 * @param int $offset
-	 * @return string[] with all uids
-	 *
-	 * Get a list of all users.
+	 * @param null|int $limit
+	 * @param null|int $offset
+	 * @return string[] an array of all uids
 	 */
 	public function getUsers($search = '', $limit = null, $offset = null) {
 		if (empty($search)) {
diff --git a/lib/private/user/interface.php b/lib/private/user/interface.php
index abaca9bad7cce3f3ef7446163b3df05dffe5e747..1ccda618e10f3aaf99c13ae48c9655cbfb391c78 100644
--- a/lib/private/user/interface.php
+++ b/lib/private/user/interface.php
@@ -28,35 +28,37 @@
 interface OC_User_Interface {
 
 	/**
-	* Check if backend implements actions
-	* @param int $actions bitwise-or'ed actions
-	* @return boolean
-	*
-	* Returns the supported actions as int to be
-	* compared with \OC_User_Backend::CREATE_USER etc.
-	*/
+	 * Check if backend implements actions
+	 * @param int $actions bitwise-or'ed actions
+	 * @return boolean
+	 *
+	 * Returns the supported actions as int to be
+	 * compared with \OC_User_Backend::CREATE_USER etc.
+	 */
 	public function implementsActions($actions);
 
 	/**
-	* delete a user
-	* @param string $uid The username of the user to delete
-	* @return bool
-	*/
+	 * delete a user
+	 * @param string $uid The username of the user to delete
+	 * @return bool
+	 */
 	public function deleteUser($uid);
 
 	/**
-	* Get a list of all users
-	* @return array an array of all uids
-	*
-	* Get a list of all users.
-	*/
+	 * Get a list of all users
+	 *
+	 * @param string $search
+	 * @param null|int $limit
+	 * @param null|int $offset
+	 * @return string[] an array of all uids
+	 */
 	public function getUsers($search = '', $limit = null, $offset = null);
 
 	/**
-	* check if a user exists
-	* @param string $uid the username
-	* @return boolean
-	*/
+	 * check if a user exists
+	 * @param string $uid the username
+	 * @return boolean
+	 */
 	public function userExists($uid);
 
 	/**
@@ -67,10 +69,12 @@ interface OC_User_Interface {
 	public function getDisplayName($uid);
 
 	/**
-	 * Get a list of all display names
-	 * @return array an array of  all displayNames (value) and the corresponding uids (key)
-	 *
 	 * Get a list of all display names and user ids.
+	 *
+	 * @param string $search
+	 * @param string|null $limit
+	 * @param string|null $offset
+	 * @return array an array of all displayNames (value) and the corresponding uids (key)
 	 */
 	public function getDisplayNames($search = '', $limit = null, $offset = null);