Skip to content

Commit b3e5ab5

Browse files
committed
Fix deprecation messages
1 parent 431429a commit b3e5ab5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Security/RememberMe/DoctrineTokenProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public function createNewToken(PersistentTokenInterface $token)
117117
$sql = 'INSERT INTO rememberme_token (class, username, series, value, lastUsed) VALUES (:class, :username, :series, :value, :lastUsed)';
118118
$paramValues = [
119119
'class' => $token->getClass(),
120-
// @deprecated since 5.3, change to $token->getUserIdentifier() in 6.0
120+
// @deprecated since Symfony 5.3, change to $token->getUserIdentifier() in 6.0
121121
'username' => method_exists($token, 'getUserIdentifier') ? $token->getUserIdentifier() : $token->getUsername(),
122122
'series' => $token->getSeries(),
123123
'value' => $token->getTokenValue(),

Security/User/EntityUserProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public function loadUserByIdentifier(string $identifier): UserInterface
6666
throw new \InvalidArgumentException(sprintf('You must either make the "%s" entity Doctrine Repository ("%s") implement "Symfony\Bridge\Doctrine\Security\User\UserLoaderInterface" or set the "property" option in the corresponding entity provider configuration.', $this->classOrAlias, get_debug_type($repository)));
6767
}
6868

69-
// @deprecated since 5.3, change to $repository->loadUserByIdentifier() in 6.0
69+
// @deprecated since Symfony 5.3, change to $repository->loadUserByIdentifier() in 6.0
7070
if (method_exists($repository, 'loadUserByIdentifier')) {
7171
$user = $repository->loadUserByIdentifier($identifier);
7272
} else {

0 commit comments

Comments
 (0)