aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/IGroupManager.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/IGroupManager.php')
-rw-r--r--lib/public/IGroupManager.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/public/IGroupManager.php b/lib/public/IGroupManager.php
index 5c41d7e5842..a6655292398 100644
--- a/lib/public/IGroupManager.php
+++ b/lib/public/IGroupManager.php
@@ -96,12 +96,12 @@ interface IGroupManager {
/**
* @param string $search
- * @param int $limit
- * @param int $offset
+ * @param ?int $limit
+ * @param ?int $offset
* @return \OCP\IGroup[]
* @since 8.0.0
*/
- public function search(string $search, int $limit = -1, int $offset = 0);
+ public function search(string $search, ?int $limit = null, ?int $offset = 0);
/**
* @param \OCP\IUser|null $user