diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-11-28 09:33:26 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2019-11-28 20:28:27 +0100 |
commit | f675e61c26819fea20bb6bda923cb3ddcad4adad (patch) | |
tree | dff6fe9781a9648c35ca4f4a768eb54b7da5799c /apps/provisioning_api | |
parent | 29bdaf735be1a5ae281c1945822d8881354ccbd3 (diff) | |
download | nextcloud-server-f675e61c26819fea20bb6bda923cb3ddcad4adad.tar.gz nextcloud-server-f675e61c26819fea20bb6bda923cb3ddcad4adad.zip |
Fix provisioning_api getUsers types
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/provisioning_api')
-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 ced4f72178c..1e33dfea5bd 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 = []; |