8000 Fix typo in choice_translation_parameters doc · symfony/symfony-docs@168004a · GitHub
[go: up one dir, main page]

Skip to content

Commit 168004a

Browse files
authored
Fix typo in choice_translation_parameters doc
1 parent bfa2eb3 commit 168004a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Given this translation message:
5050
You can specify the placeholder values as follows::
5151

5252
$builder->add('id', null, [
53-
'choice' => [
53+
'choices' => [
5454
'form.order.yes' => true,
5555
'form.order.no' => false,
5656
],
@@ -66,7 +66,7 @@ You can specify the placeholder values as follows::
6666
If an array, the keys of the ``choices`` array must be used as keys::
6767

6868
$builder->add('id', null, [
69-
'choice' => [
69+
'choices' => [
7070
'form.order.yes' => true,
7171
'form.order.no' => false,
7272
],

0 commit comments

Comments
 (0)
0