diff --git a/cookbook/security/entity_provider.rst b/cookbook/security/entity_provider.rst index 352427eb64e..80e0b08270b 100644 --- a/cookbook/security/entity_provider.rst +++ b/cookbook/security/entity_provider.rst @@ -194,7 +194,7 @@ interface forces the class to implement the five following methods: * :method:`Symfony\\Component\\Security\\Core\\User\\UserInterface::getPassword` * :method:`Symfony\\Component\\Security\\Core\\User\\UserInterface::getSalt` * :method:`Symfony\\Component\\Security\\Core\\User\\UserInterface::getUsername` -* :method:`Symfony\\Component\\Security\\Core\\User\\UserInterface::eraseCredential` +* :method:`Symfony\\Component\\Security\\Core\\User\\UserInterface::eraseCredentials` For more details on each of these, see :class:`Symfony\\Component\\Security\\Core\\User\\UserInterface`.