diff --git a/src/Bundle/ChillMainBundle/Form/Type/PickRollingDateType.php b/src/Bundle/ChillMainBundle/Form/Type/PickRollingDateType.php index a3013f792..2c90379f2 100644 --- a/src/Bundle/ChillMainBundle/Form/Type/PickRollingDateType.php +++ b/src/Bundle/ChillMainBundle/Form/Type/PickRollingDateType.php @@ -48,8 +48,8 @@ class PickRollingDateType extends AbstractType 'class' => RollingDate::class, 'empty_data' => new RollingDate(RollingDate::T_TODAY), 'constraints' => [ - new Callback([$this, 'validate']) - ] + new Callback([$this, 'validate']), + ], ]); } @@ -60,8 +60,7 @@ class PickRollingDateType extends AbstractType $context ->buildViolation('rolling_date.When fixed date is selected, you must provide a date') ->atPath('roll') - ->addViolation() - ; + ->addViolation(); } } }