From c7c0830d2e40194edfdfad3ffd6eff085dc3f6a4 Mon Sep 17 00:00:00 2001 From: nobohan Date: Thu, 5 Apr 2018 07:41:39 +0200 Subject: [PATCH] fix deprecations: empty_value -> placeholder, for ChoiceType --- Form/Type/GenderType.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Form/Type/GenderType.php b/Form/Type/GenderType.php index 674de880d..10aac7c08 100644 --- a/Form/Type/GenderType.php +++ b/Form/Type/GenderType.php @@ -31,7 +31,7 @@ class GenderType extends AbstractType { 'choices_as_values' => true, 'expanded' => true, 'multiple' => false, - 'empty_value' => null + 'placeholder' => null )); }