diff options
author | Robin Appelman <robin@icewind.nl> | 2023-02-07 17:19:16 +0100 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2023-05-11 17:30:01 +0200 |
commit | e4b9ecd8f2d5f98c2f67cf31c151909c81075653 (patch) | |
tree | b5164354c8918288fdb74db81f05e1a54d2d2429 /lib/public/IGroupManager.php | |
parent | 9d2d3d482bce004d134dd87d7b37c3dfb6513412 (diff) | |
download | nextcloud-server-e4b9ecd8f2d5f98c2f67cf31c151909c81075653.tar.gz nextcloud-server-e4b9ecd8f2d5f98c2f67cf31c151909c81075653.zip |
fix default values and type hints for GroupManager::search
ints really are ints
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/public/IGroupManager.php')
-rw-r--r-- | lib/public/IGroupManager.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/IGroupManager.php b/lib/public/IGroupManager.php index 2e2685eeeb4..5c41d7e5842 100644 --- a/lib/public/IGroupManager.php +++ b/lib/public/IGroupManager.php @@ -101,7 +101,7 @@ interface IGroupManager { * @return \OCP\IGroup[] * @since 8.0.0 */ - public function search($search, $limit = null, $offset = null); + public function search(string $search, int $limit = -1, int $offset = 0); /** * @param \OCP\IUser|null $user |