@@ -65,7 +65,7 @@ |
||
65 | 65 | |
66 | 66 | public function getGroupParents(): array |
67 | 67 | { |
68 | - return array_map(function (GroupsRecord $record) { |
|
68 | + return array_map(function(GroupsRecord $record) { |
|
69 | 69 | return intval($record->id); |
70 | 70 | }, $this->parents); |
71 | 71 | } |
@@ -155,8 +155,8 @@ |
||
155 | 155 | foreach ($groupLines as &$line) { |
156 | 156 | if ($line[IAccessGroups::GRP_ID] == $group->getGroupId()) { |
157 | 157 | // REFILL |
158 | - $line[IAccessGroups::GRP_NAME] = !empty($groupName) ? $groupName : $line[IAccessGroups::GRP_NAME] ; |
|
159 | - $line[IAccessGroups::GRP_DESC] = !empty($groupDesc) ? $groupDesc : $line[IAccessGroups::GRP_DESC] ; |
|
158 | + $line[IAccessGroups::GRP_NAME] = !empty($groupName) ? $groupName : $line[IAccessGroups::GRP_NAME]; |
|
159 | + $line[IAccessGroups::GRP_DESC] = !empty($groupDesc) ? $groupDesc : $line[IAccessGroups::GRP_DESC]; |
|
160 | 160 | $line[IAccessGroups::GRP_STATUS] = $group->getGroupStatus(); |
161 | 161 | $line[IAccessGroups::GRP_PARENTS] = $this->compactInt($group->getGroupParents()); |
162 | 162 | } |