fix deprecations: deprecated property and empty_values

This commit is contained in:
nobohan 2018-04-05 17:06:38 +02:00
parent f7631af1fd
commit 696dd8f0d0

View File

@ -45,8 +45,8 @@ class ClosingMotiveType extends AbstractType
$resolver->setDefaults(array(
'class' => 'ChillPersonBundle:AccompanyingPeriod\ClosingMotive',
'empty_data' => null,
'empty_value' => 'Choose a motive',
'property' => 'name['.$this->locale.']'
'placeholder' => 'Choose a motive',
'choice_label' => 'name['.$this->locale.']'
)
);
}