fix deprecations: use fqcn

This commit is contained in:
nobohan 2018-04-05 16:33:53 +02:00
parent 44596bf58d
commit 8c97ac9e26

View File

@ -153,8 +153,8 @@ class CustomFieldChoice extends AbstractCustomField
)) ))
->add(self::OTHER_VALUE_LABEL, TranslatableStringFormType::class, array( ->add(self::OTHER_VALUE_LABEL, TranslatableStringFormType::class, array(
'label' => 'Other value label (empty if use by default)')) 'label' => 'Other value label (empty if use by default)'))
->add(self::CHOICES, new ChoicesType(), array( ->add(self::CHOICES, ChoicesType::class, array(
'type' => new ChoicesListType($this->defaultLocales), 'entry_type' => new ChoicesListType($this->defaultLocales),
'allow_add' => true 'allow_add' => true
)); ));