diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2019-11-30 11:21:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-30 11:21:50 +0100 |
commit | c4561be5500c70216051b48985bf96894f702791 (patch) | |
tree | 1aabde9a6292211c552da5d9eb8cf545b193156e | |
parent | c302033e5f6daea8588004f585fa62f043fed338 (diff) | |
parent | f452ab09df555e5c2771d3690c5c63852d32ad45 (diff) | |
download | nextcloud-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.php | 4 |
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 = []; |