Skip to content

Commit

Permalink
bug #4315 Update choice.rst (odolbeau)
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.3 branch instead (closes #4315).

Discussion
----------

Update choice.rst

Add missing parenthesis

Commits
-------

d014607 Update choice.rst
  • Loading branch information
wouterj committed Oct 11, 2014
2 parents 090afab + d014607 commit e6d7d8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reference/forms/types/choice.rst
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ With this option you can also allow float values to be selected as data.
// ...
$builder->add('status', 'choice', array(
'choice_list' => new ChoiceList(array(1, 0.5), array('Full', 'Half')
'choice_list' => new ChoiceList(array(1, 0.5), array('Full', 'Half'))
));
.. include:: /reference/forms/types/options/empty_value.rst.inc
Expand Down

0 comments on commit e6d7d8f

Please sign in to comment.