fix deprecations: systematic use of fqcn in getParent functions

This commit is contained in:
nobohan 2018-04-06 08:11:10 +02:00
parent 3459755d7a
commit 769c9e4e59

View File

@ -22,14 +22,16 @@ namespace Chill\PersonBundle\Form\Type;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;
use Chill\MainBundle\Entity\Center;
use Chill\PersonBundle\Entity\PersonRepository;
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
use Chill\MainBundle\Security\Authorization\AuthorizationHelper;
use Symfony\Component\Security\Core\Exception\AccessDeniedException;
use Symfony\Component\Security\Core\Role\Role;
use Symfony\Bridge\Doctrine\Form\Type\EntityType;
use Chill\MainBundle\Entity\GroupCenter;
use Chill\PersonBundle\Entity\Person;
use Chill\MainBundle\Security\Authorization\AuthorizationHelper;
use Chill\MainBundle\Entity\Center;
use Chill\PersonBundle\Entity\PersonRepository;
/**
* This type allow to pick a person.
@ -155,7 +157,7 @@ class PickPersonType extends AbstractType
public function getParent()
{
return \Symfony\Bridge\Doctrine\Form\Type\EntityType::class;
return EntityType::class;
}
}