aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Group/Group.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Group/Group.php')
-rw-r--r--lib/private/Group/Group.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Group/Group.php b/lib/private/Group/Group.php
index 57289a4d3ac..d43a10b6a5c 100644
--- a/lib/private/Group/Group.php
+++ b/lib/private/Group/Group.php
@@ -76,7 +76,7 @@ class Group implements IGroup {
/** @var PublicEmitter */
private $emitter;
- public function __construct(string $gid, array $backends, IEventDispatcher $dispatcher, IUserManager $userManager, PublicEmitter $emitter = null, ?string $displayName = null) {
+ public function __construct(string $gid, array $backends, IEventDispatcher $dispatcher, IUserManager $userManager, ?PublicEmitter $emitter = null, ?string $displayName = null) {
$this->gid = $gid;
$this->backends = $backends;
$this->dispatcher = $dispatcher;
@@ -302,7 +302,7 @@ class Group implements IGroup {
* @return IUser[]
* @deprecated 27.0.0 Use searchUsers instead (same implementation)
*/
- public function searchDisplayName(string $search, int $limit = null, int $offset = null): array {
+ public function searchDisplayName(string $search, ?int $limit = null, ?int $offset = null): array {
return $this->searchUsers($search, $limit, $offset);
}