diff options
Diffstat (limited to 'lib/private/SubAdmin.php')
-rw-r--r-- | lib/private/SubAdmin.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/SubAdmin.php b/lib/private/SubAdmin.php index b3b40e78b9f..0c9d7bdd84a 100644 --- a/lib/private/SubAdmin.php +++ b/lib/private/SubAdmin.php @@ -135,7 +135,7 @@ class SubAdmin extends PublicEmitter implements ISubAdmin { */ public function getSubAdminsGroupsName(IUser $user): array { return array_map(function($group) { - return array('displayName' => $group->getDisplayName()); + return ['displayName' => $group->getDisplayName()]; }, $this->getSubAdminsGroups($user)); } |