Skip to content

Commit

Permalink
Merge pull request #17 from Nilead/master
Browse files Browse the repository at this point in the history
Fix syntax error in KeyValueType.php
  • Loading branch information
Burgov committed Oct 28, 2015
2 parents 08fa9f6 + d7b955c commit 71c901e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Form/Type/KeyValueType.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public function configureOptions(OptionsResolver $resolver)

if (method_exists($resolver, 'setDefined')) {
// Symfony 2.6+ API
$resolver->setAllowedTypes('allowed_keys' => array('null', 'array'));
$resolver->setAllowedTypes(array('allowed_keys' => array('null', 'array')));
} else {
// Symfony <2.6 API
$resolver->setAllowedTypes(array('allowed_keys' => array('null', 'array')));
Expand Down

0 comments on commit 71c901e

Please sign in to comment.