From 5293a4651ed05db8d77ac9af1abf562eff650953 Mon Sep 17 00:00:00 2001 From: nobohan Date: Fri, 30 Mar 2018 16:37:28 +0200 Subject: [PATCH] fix deprecations: getName : fix --- Form/ScopeType.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Form/ScopeType.php b/Form/ScopeType.php index 16be60ad7..12eb9fec4 100644 --- a/Form/ScopeType.php +++ b/Form/ScopeType.php @@ -5,6 +5,7 @@ namespace Chill\MainBundle\Form; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolver; +use Chill\MainBundle\Form\Type\TranslatableStringFormType; class ScopeType extends AbstractType { @@ -15,7 +16,7 @@ class ScopeType extends AbstractType public function buildForm(FormBuilderInterface $builder, array $options) { $builder - ->add('name', 'translatable_string') + ->add('name', TranslatableStringFormType::class) ; }