diff --git a/classes/user/Report.php b/classes/user/Report.php index 8e9d65ee6c3..1a858d40a39 100644 --- a/classes/user/Report.php +++ b/classes/user/Report.php @@ -77,7 +77,7 @@ private function _getHeadings(): array __('common.mailingAddress'), __('user.dateRegistered'), __('common.updated'), - $this-> + ...$this-> _getUserGroups() ->map(fn (UserGroup $userGroup): string => $userGroup->getLocalizedData('name')) ->toArray() @@ -119,7 +119,7 @@ private function _getDataRow(User $user): array $user->getMailingAddress(), $user->getDateRegistered(), $user->getLocalizedData('dateProfileUpdated'), - $this + ...$this ->_getUserGroups() ->map( fn (UserGroup $userGroup): string => __(