Selaa lähdekoodia

Update Form/Type/TranslatableChoiceType.php

Krzysztof Kolasiak 13 vuotta sitten
vanhempi
commit
b385edc785
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      Form/Type/TranslatableChoiceType.php

+ 1 - 1
Form/Type/TranslatableChoiceType.php

@@ -67,7 +67,7 @@ class TranslatableChoiceType extends ChoiceType
     /**
      * {@inheritDoc}
      */
-    public function buildForm(FormBuilder $builder, array $options)
+    public function buildForm(FormBuilderInterface $builder, array $options)
     {
         // translate options before building form
         foreach ($options['choices'] as $name => $value) {