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
-------

b5b8c15831 [Security] Fix wrong term in UserProviderInterface
This commit is contained in:
Fabien Potencier 2017-07-17 12:41:14 +02:00
commit 01cb493ed1
1 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ interface UserProviderInterface
public function loadUserByUsername($username);
/**
* Refreshes the user for the account interface.
* Refreshes the user.
*
* It is up to the implementation to decide if the user data should be
* totally reloaded (e.g. from the database), or if the UserInterface
@ -61,7 +61,7 @@ interface UserProviderInterface
*
* @return UserInterface
*
* @throws UnsupportedUserException if the account is not supported
* @throws UnsupportedUserException if the user is not supported
*/
public function refreshUser(UserInterface $user);