We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de92a9b commit 1f07b4fCopy full SHA for 1f07b4f
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
18
19
class AddressType extends AbstractType
20
{
21
- public function configureOptions(OptionsResolver $resolver)
+ public function configureOptions(OptionsResolver $resolver): void
22
23
$resolver
24
->setDefaults([
@@ -28,7 +28,7 @@ define a callable that takes each choice as the only argument and must return
28
;
29
}
30
31
- public function buildForm(FormBuilderInterface $builder, array $options)
+ public function buildForm(FormBuilderInterface $builder, array $options): void
32
33
$allowedCountries = $options['allowed_countries'];
34
0 commit comments