DX phpstan and csfixer

This commit is contained in:
2023-07-05 13:35:06 +02:00
parent 4da7040a49
commit 1ee0e8e350
5 changed files with 14 additions and 20 deletions

View File

@@ -129,25 +129,18 @@ final class FilterOrderType extends \Symfony\Component\Form\AbstractType
$userPickersBuilder = $builder->create('user_pickers', null, ['compound' => true]);
foreach ($helper->getUserPickers() as $name => [
'label' => $label, 'options' => $options
'label' => $label, 'options' => $opts
]) {
$userPicker = $userPickersBuilder->create($name, null, [
'compound' => true,
'label' => $label,
]);
$userPicker->add(
$userPickersBuilder->add(
$name,
PickUserDynamicType::class,
[
'multiple' => true,
'label' => $label,
...$options,
...$opts,
]
);
$userPickersBuilder->add($userPicker);
}
$builder->add($userPickersBuilder);