From cecccfa7cf70324f452b63b345ef31cbb5be0977 Mon Sep 17 00:00:00 2001 From: Benitez Gabriel Date: Wed, 20 Mar 2019 14:02:51 -0400 Subject: [PATCH] edit class --- Form/Type/YamlType.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Form/Type/YamlType.php b/Form/Type/YamlType.php index 1669ed2..c6a2846 100755 --- a/Form/Type/YamlType.php +++ b/Form/Type/YamlType.php @@ -4,6 +4,7 @@ use gbenitez\Bundle\AttributeBundle\Form\DataTransformer\ArrayToYamlTransformer; use Symfony\Component\Form\AbstractType; +use Symfony\Component\Form\Extension\Core\Type\TextareaType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolver; @@ -25,7 +26,7 @@ public function getName() public function getParent() { - return 'textarea'; + return TextareaType::class; } public function buildForm(FormBuilderInterface $builder, array $options)