From d080dfda9a6dbcef57e3614e35b8a470edea019e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Thu, 17 Nov 2022 19:01:54 +0100 Subject: [PATCH] DX: Fix CS --- .../ChillMainBundle/Form/Type/PickRollingDateType.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Bundle/ChillMainBundle/Form/Type/PickRollingDateType.php b/src/Bundle/ChillMainBundle/Form/Type/PickRollingDateType.php index 5b5bff6b3..a4492526f 100644 --- a/src/Bundle/ChillMainBundle/Form/Type/PickRollingDateType.php +++ b/src/Bundle/ChillMainBundle/Form/Type/PickRollingDateType.php @@ -44,6 +44,11 @@ class PickRollingDateType extends AbstractType $builder->setDataMapper(new RollingDateDataMapper()); } + public function buildView(FormView $view, FormInterface $form, array $options) + { + $view->vars['uniqid'] = uniqid('rollingdate-'); + } + public function configureOptions(OptionsResolver $resolver) { $resolver->setDefaults([ @@ -65,9 +70,4 @@ class PickRollingDateType extends AbstractType ->addViolation(); } } - - public function buildView(FormView $view, FormInterface $form, array $options) - { - $view->vars['uniqid'] = uniqid('rollingdate-'); - } }