mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-22 23:53:50 +00:00
DX phpstan and csfixer
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user