瀏覽代碼

Merge pull request #890 from kolah/master

Update Form/Type/TranslatableChoiceType.php
Thomas 13 年之前
父節點
當前提交
7018d7cf86
共有 1 個文件被更改,包括 1 次插入1 次删除
  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) {