Skip to content

Commit 75c545c

Browse files
committed
do not reference unused interface
In symfony#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.
1 parent 2e11e48 commit 75c545c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

cookbook/security/entity_provider.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,6 @@ interface only requires one method: ``loadUserByUsername($username)``::
431431
namespace AppBundle\Entity;
432432

433433
use Symfony\Bridge\Doctrine\Security\User\UserLoaderInterface;
434-
use Symfony\Component\Security\Core\User\UserInterface;
435434
use Doctrine\ORM\EntityRepository;
436435

437436
class UserRepository extends EntityRepository implements UserLoaderInterface

0 commit comments

Comments
 (0)