We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0b8106 commit 87b89caCopy full SHA for 87b89ca
reference/forms/types/choice.rst
@@ -198,7 +198,7 @@ if you want to take advantage of lazy loading::
198
$builder->add('constants', ChoiceType::class, array(
199
'choice_loader' => new CallbackChoiceLoader(function() {
200
return StaticClass::getConstants();
201
- },
+ }),
202
));
203
204
This will cause the call of ``StaticClass::getConstants()`` to not happen if the
0 commit comments