瀏覽代碼

Updated ChoiceType to use array syntax that works with PHP 5.3

wcluijt 10 年之前
父節點
當前提交
3a615218cd
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Form/Type/Filter/ChoiceType.php

+ 1 - 1
Form/Type/Filter/ChoiceType.php

@@ -77,7 +77,7 @@ class ChoiceType extends AbstractType
             'field_type'       => 'choice',
             'field_options'    => array(),
             'operator_type'    => 'choice',
-            'operator_options' => [],
+            'operator_options' => array(),
         ));
     }
 }