Skip to content

Commit f8bd2ab

Browse files
committed
minor #19198 Fix deprecations return void (tbredillet)
This PR was merged into the 6.4 branch. Discussion ---------- Fix deprecations return void Add return type Commits ------- 1f07b4f Fix deprecations return void
2 parents de92a9b + 1f07b4f commit f8bd2ab

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)