Skip to content

Commit ea5531b

Browse files
An interface should be implemented
1 parent 064c740 commit ea5531b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbook/security/api_key_authentication.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ The ``$userProvider`` might look something like this::
145145
use Symfony\Component\Security\Core\User\UserInterface;
146146
use Symfony\Component\Security\Core\Exception\UnsupportedUserException;
147147

148-
class ApiKeyUserProvider extends UserProviderInterface
148+
class ApiKeyUserProvider implements UserProviderInterface
149149
{
150150
public function getUsernameForApiKey($apiKey)
151151
{

0 commit comments

Comments
 (0)