Skip to content

Commit

Permalink
bug #5270 Use OptionsResolver (tacman)
Browse files Browse the repository at this point in the history
This PR was merged into the 2.7 branch.

Discussion
----------

Use OptionsResolver

instead of OptionsResolverInterface

Commits
-------

857f96a Use OptionsResolver
  • Loading branch information
wouterj committed May 23, 2015
2 parents 075a4b5 + 857f96a commit 57fa634
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cookbook/form/data_transformers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ First, create the custom field type class::
$builder->addModelTransformer($transformer);
}

public function configureOptions(OptionsResolverInterface $resolver)
public function configureOptions(OptionsResolver $resolver)
{
$resolver->setDefaults(array(
'invalid_message' => 'The selected issue does not exist',
Expand Down

0 comments on commit 57fa634

Please sign in to comment.