Przeglądaj źródła

Merge pull request #2915 from wcluijt/patch-2

Updated ChoiceType to use array syntax that works with PHP 5.3
Andrej Hudec 10 lat temu
rodzic
commit
07f8211d77
1 zmienionych plików z 1 dodań i 1 usunięć
  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(),
         ));
     }
 }