symfony/symfony-docs — pull request #850 by chmielot (2011-11-12 13:18:04+00:00)
Title: Added array for Choice validator options in PHP code block.

The Choice constraint expects an options array in PHP. array() was missing for the options.