Skip to content

Commit 1f07b4f

Browse files
authored
Fix deprecations return void
1 parent de92a9b commit 1f07b4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reference/forms/types/options/choice_filter.rst.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ define a callable that takes each choice as the only argument and must return
1818

1919
class AddressType extends AbstractType
2020
{
21-
public function configureOptions(OptionsResolver $resolver)
21+
public function configureOptions(OptionsResolver $resolver): void
2222
{
2323
$resolver
2424
->setDefaults([
@@ -28,7 +28,7 @@ define a callable that takes each choice as the only argument and must return
2828
;
2929
}
3030

31-
public function buildForm(FormBuilderInterface $builder, array $options)
31+
public function buildForm(FormBuilderInterface $builder, array $options): void
3232
{
3333
$allowedCountries = $options['allowed_countries'];
3434

0 commit comments

Comments
 (0)