From 160efc48e1ea1ac90e714177f0ae88e56539f911 Mon Sep 17 00:00:00 2001 From: ARTACK WebLab Date: Fri, 7 Jul 2017 14:31:17 +0200 Subject: [PATCH] fixed typo in choice.rst regarding choice_loader --- reference/forms/types/choice.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/forms/types/choice.rst b/reference/forms/types/choice.rst index 8eaf39d0153..6f98356f856 100644 --- a/reference/forms/types/choice.rst +++ b/reference/forms/types/choice.rst @@ -198,7 +198,7 @@ if you want to take advantage of lazy loading:: $builder->add('constants', ChoiceType::class, array( 'choice_loader' => new CallbackChoiceLoader(function() { return StaticClass::getConstants(); - }, + }), )); This will cause the call of ``StaticClass::getConstants()`` to not happen if the