fix(IGroupManager): Use correct return type for displayNamesInGroup

Signed-off-by: provokateurin <kate@provokateurin.de>
This commit is contained in:
provokateurin 2026-02-12 12:28:23 +01:00
parent e454cc6765
commit 2d486c5629
No known key found for this signature in database
2 changed files with 1 additions and 10 deletions

View file

@ -391,15 +391,6 @@ class Manager extends PublicEmitter implements IGroupManager {
}, $this->getUserGroups($user));
}
/**
* get a list of all display names in a group
*
* @param string $gid
* @param string $search
* @param int $limit
* @param int $offset
* @return array an array of display names (value) and user ids (key)
*/
public function displayNamesInGroup($gid, $search = '', $limit = -1, $offset = 0) {
$group = $this->get($gid);
if (is_null($group)) {

View file

@ -101,7 +101,7 @@ interface IGroupManager {
* @param string $search
* @param int $limit
* @param int $offset
* @return array an array of display names (value) and user ids (key)
* @return array<string, string> ['user id' => 'display name']
* @since 8.0.0
*/
public function displayNamesInGroup($gid, $search = '', $limit = -1, $offset = 0);