summaryrefslogtreecommitdiffstats
path: root/lib/private/user/database.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-06-27 20:35:47 +0200
committerLukas Reschke <lukas@owncloud.com>2015-06-27 20:35:47 +0200
commitaf01958f3e3c36d850f056b4598b85336878ee2f (patch)
tree0cedb72844c8a084b5f9278f6adae155e496b518 /lib/private/user/database.php
parentd1f0ff372e8c05ced760d4e21060e8d8db9c1963 (diff)
downloadnextcloud-server-af01958f3e3c36d850f056b4598b85336878ee2f.tar.gz
nextcloud-server-af01958f3e3c36d850f056b4598b85336878ee2f.zip
Add missing annotations for parameters
Diffstat (limited to 'lib/private/user/database.php')
-rw-r--r--lib/private/user/database.php14
1 files changed, 9 insertions, 5 deletions
diff --git a/lib/private/user/database.php b/lib/private/user/database.php
index 0de062ba2ce..3cf73f939e5 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 = [];