Skip to content

Commit 823970b

Browse files
ipfjaviereguiluz
authored andcommitted
Fix typo for variable name
The variable name `choice_value` did not contain the `$`.
1 parent 25ccb33 commit 823970b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ more control::
1717
'maybe' => null,
1818
),
1919
'choice_label' => function ($choiceValue, $key, $value) {
20-
if ($value == choiceValue) {
20+
if ($value == $choiceValue) {
2121
return 'Definitely!';
2222
}
2323

0 commit comments

Comments
 (0)