diff --git a/apps/provisioning_api/lib/Controller/UsersController.php b/apps/provisioning_api/lib/Controller/UsersController.php index ced4f72178..1e33dfea5b 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 = [];