From 1f07b4fcdf5de2025d31f4814a71bc8157ae3293 Mon Sep 17 00:00:00 2001 From: Bredillet Thomas Date: Wed, 29 Nov 2023 16:48:15 +0100 Subject: [PATCH] Fix deprecations return void --- reference/forms/types/options/choice_filter.rst.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reference/forms/types/options/choice_filter.rst.inc b/reference/forms/types/options/choice_filter.rst.inc index 235e1d84ed9..66d06b19bbd 100644 --- a/reference/forms/types/options/choice_filter.rst.inc +++ b/reference/forms/types/options/choice_filter.rst.inc @@ -18,7 +18,7 @@ define a callable that takes each choice as the only argument and must return class AddressType extends AbstractType { - public function configureOptions(OptionsResolver $resolver) + public function configureOptions(OptionsResolver $resolver): void { $resolver ->setDefaults([ @@ -28,7 +28,7 @@ define a callable that takes each choice as the only argument and must return ; } - public function buildForm(FormBuilderInterface $builder, array $options) + public function buildForm(FormBuilderInterface $builder, array $options): void { $allowedCountries = $options['allowed_countries'];