We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 08fa9f6 + d7b955c commit 71c901eCopy full SHA for 71c901e
Form/Type/KeyValueType.php
@@ -71,7 +71,7 @@ public function configureOptions(OptionsResolver $resolver)
71
72
if (method_exists($resolver, 'setDefined')) {
73
// Symfony 2.6+ API
74
- $resolver->setAllowedTypes('allowed_keys' => array('null', 'array'));
+ $resolver->setAllowedTypes(array('allowed_keys' => array('null', 'array')));
75
} else {
76
// Symfony <2.6 API
77
$resolver->setAllowedTypes(array('allowed_keys' => array('null', 'array')));
0 commit comments