Si vous constatez la perte de tickets, de commentaires ou de projets, veuillez consulter la page

Commit 7f6f41a2 authored by Julien Minet's avatar Julien Minet

fix deprecations: remove array for addAllowedTypes/Values

parent 9694445b
Pipeline #45942 failed with stages
in 5 minutes and 31 seconds
......@@ -69,9 +69,9 @@ class AccompanyingPeriodType extends AbstractType
->addAllowedTypes(array('period_action' => 'string'))
->addAllowedValues(array('period_action' => array(
'update', 'open', 'close', 'create')));
->addAllowedValues('period_action', array(
'update', 'open', 'close', 'create'));
public function buildView(FormView $view, FormInterface $form, array $options)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment