aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/IGroupManager.php
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2023-02-07 17:19:16 +0100
committerRobin Appelman <robin@icewind.nl>2023-05-11 17:30:01 +0200
commite4b9ecd8f2d5f98c2f67cf31c151909c81075653 (patch)
treeb5164354c8918288fdb74db81f05e1a54d2d2429 /lib/public/IGroupManager.php
parent9d2d3d482bce004d134dd87d7b37c3dfb6513412 (diff)
downloadnextcloud-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.php2
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