Explorar o código

Merge pull request #2915 from wcluijt/patch-2

Updated ChoiceType to use array syntax that works with PHP 5.3
Andrej Hudec %!s(int64=10) %!d(string=hai) anos
pai
achega
07f8211d77
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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(),
         ));
     }
 }