From 10f752227da6bca24795534111bd1233d6539995 Mon Sep 17 00:00:00 2001 From: Jacek Date: Tue, 5 Jan 2021 22:47:02 +0100 Subject: [PATCH] Remove unused imports and properties --- security/experimental_authenticators.rst | 9 --------- 1 file changed, 9 deletions(-) diff --git a/security/experimental_authenticators.rst b/security/experimental_authenticators.rst index 35aa1c9c205..c84f36ed51d 100644 --- a/security/experimental_authenticators.rst +++ b/security/experimental_authenticators.rst @@ -287,8 +287,6 @@ method that fits most use-cases:: // src/Security/ApiKeyAuthenticator.php namespace App\Security; - use App\Entity\User; - use Doctrine\ORM\EntityManagerInterface; use Symfony\Component\HttpFoundation\JsonResponse; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; @@ -302,13 +300,6 @@ method that fits most use-cases:: class ApiKeyAuthenticator extends AbstractAuthenticator { - private $entityManager; - - public function __construct(EntityManagerInterface $entityManager) - { - $this->entityManager = $entityManager; - } - /** * Called on every request to decide if this authenticator should be * used for the request. Returning `false` will cause this authenticator