Skip to content

Commit 87b89ca

Browse files
plandoltxabbuh
authored andcommitted
fixed typo in choice.rst regarding choice_loader
1 parent e0b8106 commit 87b89ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reference/forms/types/choice.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ if you want to take advantage of lazy loading::
198198
$builder->add('constants', ChoiceType::class, array(
199199
'choice_loader' => new CallbackChoiceLoader(function() {
200200
return StaticClass::getConstants();
201-
},
201+
}),
202202
));
203203

204204
This will cause the call of ``StaticClass::getConstants()`` to not happen if the

0 commit comments

Comments
 (0)