8000 minor #15510 Fix typo in choice_translation_parameters doc (Tobion) · symfony/symfony-docs@54aacc7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 54aacc7

Browse files
committed
minor #15510 Fix typo in choice_translation_parameters doc (Tobion)
This PR was merged into the 5.3 branch. Discussion ---------- Fix typo in choice_translation_parameters doc Commits ------- 168004a Fix typo in choice_translation_parameters doc
2 parents 42b0a87 + 168004a commit 54aacc7

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