diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2019-11-29 09:04:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-29 09:04:49 +0100 |
commit | b552da515ef8ebf7418e7088f9650312c55d24e4 (patch) | |
tree | 0436f657880b77515b3ba6a8b87232caa36b50fe | |
parent | 69fad0e252cdf4663b334b81f505e278f853e61b (diff) | |
parent | f675e61c26819fea20bb6bda923cb3ddcad4adad (diff) | |
download | nextcloud-server-b552da515ef8ebf7418e7088f9650312c55d24e4.tar.gz nextcloud-server-b552da515ef8ebf7418e7088f9650312c55d24e4.zip |
Merge pull request #18142 from nextcloud/fix/provisioning_api/users-typing
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 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 = []; |