Skip to content

Commit

Permalink
Fix wrong reference and fix deprecation in return type
Browse files Browse the repository at this point in the history
  • Loading branch information
tobias-93 committed May 7, 2024
1 parent 34bc262 commit dbb4023
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Form/Type/DateRangePickerType.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use Symfony\Component\Form\FormView;
use Symfony\Component\Form\FormInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;
use Symfony\Component\Translation\TranslatorInterface;
use Symfony\Contracts\Translation\TranslatorInterface;

/**
* See `Resources/doc/daterange-picker/overview.md` for documentation
Expand Down
2 changes: 1 addition & 1 deletion Form/Type/TimePickerType.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function buildView(FormView $view, FormInterface $form, array $options):

}

public function configureOptions(OptionsResolver $resolver)
public function configureOptions(OptionsResolver $resolver): void
{
$resolver->setDefaults([
'widget' => 'single_text',
Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"symfony/options-resolver": "~4.4|~5.4|~6.2",
"symfony/property-access": "~4.4|~5.4|~6.2",
"symfony/translation": "~4.4|~5.4|~6.2",
"symfony/translation-contracts": "~1.0|~2.0|~3.0",
"symfony/twig-bridge": "~4.4|~5.4|~6.2",
"symfony/validator": "~4.4|~5.4|~6.2",
"twig/twig": "^2.15.3||^3.4.3",
Expand Down

0 comments on commit dbb4023

Please sign in to comment.