fix deprecations: use fqcn for collectionType in getParent()

This commit is contained in:
nobohan 2018-04-05 16:23:23 +02:00
parent 4c4f4b5ca7
commit 44596bf58d

View File

@ -3,7 +3,7 @@ namespace Chill\CustomFieldsBundle\Form\Type;
use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\Form\Extension\Core\Type\CollectionType;
/** /**
* *
@ -19,6 +19,6 @@ class ChoicesType extends AbstractType
public function getParent() public function getParent()
{ {
return 'collection'; return CollectionType::class;
} }
} }