aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/User/Backend.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/User/Backend.php')
-rw-r--r--lib/private/User/Backend.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/private/User/Backend.php b/lib/private/User/Backend.php
index d58092feac1..5d06b54c28b 100644
--- a/lib/private/User/Backend.php
+++ b/lib/private/User/Backend.php
@@ -89,11 +89,11 @@ abstract class Backend implements UserInterface {
* @param string $search
* @param null|int $limit
* @param null|int $offset
- * @param string $orderBy
- * @param string $sort
+ * @param string $sortMode
+ * @param string $sortOrder
* @return string[] an array of all uids
*/
- public function getUsers($search = '', $limit = null, $offset = null, $orderBy = 'lastLogin', $sort = 'DESC') {
+ public function getUsers($search = '', $limit = null, $offset = null, string $sortMode = 'uid', string $sortOrder = 'asc') {
return [];
}
@@ -130,11 +130,11 @@ abstract class Backend implements UserInterface {
* @param string $search
* @param int|null $limit
* @param int|null $offset
- * @param string $orderBy
- * @param string $sort
+ * @param string $sortMode
+ * @param string $sortOrder
* @return array an array of all displayNames (value) and the corresponding uids (key)
*/
- public function getDisplayNames($search = '', $limit = null, $offset = null, string $orderBy = 'lastLogin', string $sort = 'DESC'): array {
+ public function getDisplayNames($search = '', $limit = null, $offset = null, string $sortMode = 'uid', string $sortOrder = 'asc'): array {
$displayNames = [];
$users = $this->getUsers($search, $limit, $offset);
foreach ($users as $user) {