Skip to content

Commit

Permalink
Merge pull request #11 from gbenitez/develop
Browse files Browse the repository at this point in the history
edit class
  • Loading branch information
gbenitez authored Mar 20, 2019
2 parents c92b62f + cecccfa commit d02cc99
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Form/Type/YamlType.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -25,7 +26,7 @@ public function getName()

public function getParent()
{
return 'textarea';
return TextareaType::class;
}

public function buildForm(FormBuilderInterface $builder, array $options)
Expand Down

0 comments on commit d02cc99

Please sign in to comment.