Skip to content

Commit 2067dab

Browse files
committed
Use configureOptions() instead of setDefaultOptions()
1 parent e7c47c9 commit 2067dab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/Form/Extension/Core/Type/DateIntervalType.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
use Symfony\Component\Form\FormView;
2222
use Symfony\Component\Form\ReversedTransformer;
2323
use Symfony\Component\OptionsResolver\Options;
24-
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
24+
use Symfony\Component\OptionsResolver\OptionsResolver;
2525

2626
/**
2727
* @author Steffen Roßkamp <steffen.rosskamp@gimmickmedia.de>
@@ -167,7 +167,7 @@ public function buildView(FormView $view, FormInterface $form, array $options)
167167
/**
168168
* {@inheritdoc}
169169
*/
170-
public function setDefaultOptions(OptionsResolverInterface $resolver)
170+
public function configureOptions(OptionsResolver $resolver)
171171
{
172172
$timeParts = $this->timeParts;
173173
$compound = function (Options $options) {

0 commit comments

Comments
 (0)