diff options
author | Robin Appelman <robin@icewind.nl> | 2023-02-09 11:46:46 +0100 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2023-05-11 17:30:03 +0200 |
commit | 13b06ba4e25c4673f782bdf0bb356a07bfac0f7d (patch) | |
tree | a6389f2487f4481f254ae74c31c2af777fbd9a1e /lib/public/IGroupManager.php | |
parent | 7ad3574d71e0565438753cf94878723b540ae54f (diff) | |
download | nextcloud-server-13b06ba4e25c4673f782bdf0bb356a07bfac0f7d.tar.gz nextcloud-server-13b06ba4e25c4673f782bdf0bb356a07bfac0f7d.zip |
revert public interface back to the original types, just cast them before passing the nulls to the backends
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/public/IGroupManager.php')
-rw-r--r-- | lib/public/IGroupManager.php | 6 |
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 |