Skip to content

Commit

Permalink
Merge pull request #420 from loic425/fix/date-type-extension
Browse files Browse the repository at this point in the history
Fix date type extension spec
  • Loading branch information
loic425 committed Apr 26, 2022
2 parents ce89b2b + 504edd4 commit b347628
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function it_configures_options(OptionsResolver $resolver)
$resolver->setDefaults([
'widget' => 'single_text',
'html5' => false,
])->shouldBeCalled();
])->willReturn($resolver)->shouldBeCalled();

$this->configureOptions($resolver);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class DateTypeExtension extends AbstractTypeExtension
/**
* {@inheritdoc}
*/
public function configureOptions(OptionsResolver $resolver)
public function configureOptions(OptionsResolver $resolver): void
{
$resolver
->setDefaults([
Expand Down

0 comments on commit b347628

Please sign in to comment.