@@ -268,7 +268,7 @@ discard block |
||
268 | 268 | $userToUserGroupService = $this->dic->get(UserToUserGroupService::class); |
269 | 269 | |
270 | 270 | // Groups in whinch the user is listed in |
271 | - $userGroups = array_map(function ($value) { |
|
271 | + $userGroups = array_map(function($value) { |
|
272 | 272 | return (int)$value->userGroupId; |
273 | 273 | }, $userToUserGroupService->getGroupsForUser($this->userData->getId())); |
274 | 274 | |
@@ -301,7 +301,7 @@ discard block |
||
301 | 301 | */ |
302 | 302 | private function getUserInSecondaryUsers($userId) |
303 | 303 | { |
304 | - return array_values(array_filter($this->accountAclDto->getUsersId(), function ($value) use ($userId) { |
|
304 | + return array_values(array_filter($this->accountAclDto->getUsersId(), function($value) use ($userId) { |
|
305 | 305 | return (int)$value->id === $userId; |
306 | 306 | })); |
307 | 307 | } |
@@ -334,7 +334,7 @@ discard block |
||
334 | 334 | |
335 | 335 | // Comprobar si el grupo del usuario está vinculado desde los grupos secundarios de la cuenta |
336 | 336 | return array_filter($this->accountAclDto->getUserGroupsId(), |
337 | - function ($value) use ($userGroupId, $isAccountFullGroupAccess, $userGroups) { |
|
337 | + function($value) use ($userGroupId, $isAccountFullGroupAccess, $userGroups) { |
|
338 | 338 | return (int)$value->id === $userGroupId |
339 | 339 | // o... permitir los grupos que no sean el principal del usuario? |
340 | 340 | || ($isAccountFullGroupAccess |