mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
fix(IGroupManager): Use correct return type for displayNamesInGroup
Signed-off-by: provokateurin <kate@provokateurin.de>
This commit is contained in:
parent
e454cc6765
commit
2d486c5629
2 changed files with 1 additions and 10 deletions
|
|
@ -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)) {
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue