Skip to content

Commit 739f948

Browse files
committed
minor #8131 fixed syntax in choice.rst regarding choice_loader (scuben)
This PR was submitted for the 3.3 branch but it was merged into the 3.2 branch instead (closes #8131). Discussion ---------- fixed syntax in choice.rst regarding choice_loader Commits ------- 87b89ca fixed typo in choice.rst regarding choice_loader
2 parents e0b8106 + 87b89ca commit 739f948

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)