Skip to content

Commit

Permalink
Update call to OptRes::setAllowedTypes() to match new signature.
Browse files Browse the repository at this point in the history
  • Loading branch information
Reinier Kip committed Jun 3, 2015
1 parent fb32c12 commit 2394da9
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,7 @@ public function configureOptions(OptionsResolver $resolver)

$resolver->setRequired(['route']);

$resolver->setAllowedTypes([
'route' => 'string',
]);
$resolver->setAllowedTypes('route', 'string');
}

public function buildView(FormView $view, FormInterface $form, array $options)
Expand Down

0 comments on commit 2394da9

Please sign in to comment.