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'];