summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2019-11-30 11:21:50 +0100
committerGitHub <noreply@github.com>2019-11-30 11:21:50 +0100
commitc4561be5500c70216051b48985bf96894f702791 (patch)
tree1aabde9a6292211c552da5d9eb8cf545b193156e
parentc302033e5f6daea8588004f585fa62f043fed338 (diff)
parentf452ab09df555e5c2771d3690c5c63852d32ad45 (diff)
downloadnextcloud-server-c4561be5500c70216051b48985bf96894f702791.tar.gz
nextcloud-server-c4561be5500c70216051b48985bf96894f702791.zip
[stable17] Fix provisioning_api getUsers types (#18157)
[stable17] Fix provisioning_api getUsers types
-rw-r--r--apps/provisioning_api/lib/Controller/UsersController.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/provisioning_api/lib/Controller/UsersController.php b/apps/provisioning_api/lib/Controller/UsersController.php
index dd54d7ebf75..6b92c489446 100644
--- a/apps/provisioning_api/lib/Controller/UsersController.php
+++ b/apps/provisioning_api/lib/Controller/UsersController.php
@@ -126,7 +126,7 @@ class UsersController extends AUserData {
* @param int $offset
* @return DataResponse
*/
- public function getUsers(string $search = '', $limit = null, $offset = 0): DataResponse {
+ public function getUsers(string $search = '', int $limit = null, int $offset = 0): DataResponse {
$user = $this->userSession->getUser();
$users = [];
@@ -159,7 +159,7 @@ class UsersController extends AUserData {
*
* returns a list of users and their data
*/
- public function getUsersDetails(string $search = '', $limit = null, $offset = 0): DataResponse {
+ public function getUsersDetails(string $search = '', int $limit = null, int $offset = 0): DataResponse {
$currentUser = $this->userSession->getUser();
$users = [];