Skip to content

Commit f3f9339

Browse files
committed
minor #6111 Fixed a typo in the choice_label code example (ferdynator)
This PR was submitted for the master branch but it was merged into the 2.7 branch instead (closes #6111). Discussion ---------- Fixed a typo in the choice_label code example | Q | A | ------------- | --- | Doc fix? | Yes | New docs? | No | Applies to | >=2.7 | Fixed tickets | Commits ------- 7f25299 Fixed a typo in the choice_label code example
2 parents 9718832 + 7f25299 commit f3f9339

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
@@ -43,7 +43,7 @@ If your choice values are objects, then ``choice_label`` can also be a
4343
'choices' => array(
4444
new Status(Status::YES),
4545
new Status(Status::NO),
46-
new Status::(Status::MAYBE),
46+
new Status(Status::MAYBE),
4747
),
4848
'choices_as_values' => true,
4949
'choice_label' => 'displayName',

0 commit comments

Comments
 (0)