Skip to content

Commit 01cb493

Browse files
committed
minor #23487 [Security] Fix wrong term in UserProviderInterface (issei-m)
This PR was submitted for the master branch but it was merged into the 2.7 branch instead (closes #23487). Discussion ---------- [Security] Fix wrong term in UserProviderInterface | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no <!-- don't forget updating src/**/CHANGELOG.md files --> | BC breaks? | no | Deprecations? | no <!-- don't forget updating UPGRADE-*.md files --> | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - The term "account" is the just remnant from the days of AccountInterface, isn't it? Commits ------- b5b8c15 [Security] Fix wrong term in UserProviderInterface
2 parents 0100ca1 + b5b8c15 commit 01cb493

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/Security/Core/User/UserProviderInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ interface UserProviderInterface
5050
public function loadUserByUsername($username);
5151

5252
/**
53-
* Refreshes the user for the account interface.
53+
* Refreshes the user.
5454
*
5555
* It is up to the implementation to decide if the user data should be
5656
* totally reloaded (e.g. from the database), or if the UserInterface
@@ -61,7 +61,7 @@ public function loadUserByUsername($username);
6161
*
6262
* @return UserInterface
6363
*
64-
* @throws UnsupportedUserException if the account is not supported
64+
* @throws UnsupportedUserException if the user is not supported
6565
*/
6666
public function refreshUser(UserInterface $user);
6767

0 commit comments

Comments
 (0)