Skip to content

Commit

Permalink
pkp#10828 fixed warning array to string conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
touhidurabir committed Jan 22, 2025
1 parent 388c69c commit cde2d84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions classes/user/Report.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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 => __(
Expand Down

0 comments on commit cde2d84

Please sign in to comment.