DX: fix cs

This commit is contained in:
2023-04-15 00:43:55 +02:00
parent 80647147ee
commit 746ed4f5e5
188 changed files with 309 additions and 308 deletions

View File

@@ -218,9 +218,9 @@ class SingleTaskListType extends AbstractType
$users = $this->getUsersAssigneedToTask($options);
$choices = array_combine(
// get usernames
array_map(static fn(User $user) => $user->getUsername(), $users),
array_map(static fn (User $user) => $user->getUsername(), $users),
// get ids
array_map(static fn(User $user) => $user->getId(), $users)
array_map(static fn (User $user) => $user->getId(), $users)
);
$choices['Unassigned'] = '_unassigned';