Procházet zdrojové kódy

Merge pull request #2915 from wcluijt/patch-2

Updated ChoiceType to use array syntax that works with PHP 5.3
Andrej Hudec před 10 roky
rodič
revize
07f8211d77
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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(),
         ));
     }
 }