From 75c545c7eb5eeb8ed378bb8a451f95c73d20b047 Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Wed, 8 Jun 2016 19:01:10 +0200 Subject: [PATCH] do not reference unused interface In #5993 we removed the refreshUser() method which is no longer required when implementing the new UserLoaderInterface. Thus, we no longer have to reference the UserInterface too. --- cookbook/security/entity_provider.rst | 1 - 1 file changed, 1 deletion(-) 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