Skip to content

Commit

Permalink
minor #6111 Fixed a typo in the choice_label code example (ferdynator)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
xabbuh committed Jan 6, 2016
2 parents 9718832 + 7f25299 commit f3f9339
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reference/forms/types/options/choice_label.rst.inc
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ If your choice values are objects, then ``choice_label`` can also be a
'choices' => array(
new Status(Status::YES),
new Status(Status::NO),
new Status::(Status::MAYBE),
new Status(Status::MAYBE),
),
'choices_as_values' => true,
'choice_label' => 'displayName',
Expand Down

0 comments on commit f3f9339

Please sign in to comment.