diff --git a/cookbook/security/entity_provider.rst b/cookbook/security/entity_provider.rst index 58da78c2043..feec3e2a3a2 100644 --- a/cookbook/security/entity_provider.rst +++ b/cookbook/security/entity_provider.rst @@ -431,7 +431,6 @@ interface only requires one method: ``loadUserByUsername($username)``:: namespace AppBundle\Entity; use Symfony\Bridge\Doctrine\Security\User\UserLoaderInterface; - use Symfony\Component\Security\Core\User\UserInterface; use Doctrine\ORM\EntityRepository; class UserRepository extends EntityRepository implements UserLoaderInterface