Fix provisioning_api getUsers types
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
29bdaf735b
commit
f675e61c26
|
@ -126,7 +126,7 @@ class UsersController extends AUserData {
|
||||||
* @param int $offset
|
* @param int $offset
|
||||||
* @return DataResponse
|
* @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();
|
$user = $this->userSession->getUser();
|
||||||
$users = [];
|
$users = [];
|
||||||
|
|
||||||
|
@ -159,7 +159,7 @@ class UsersController extends AUserData {
|
||||||
*
|
*
|
||||||
* returns a list of users and their data
|
* 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();
|
$currentUser = $this->userSession->getUser();
|
||||||
$users = [];
|
$users = [];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue