bug #26289 [Security] Add missing use of Role (tony-tran)

This PR was merged into the 4.0 branch.

Discussion
----------

[Security] Add missing use of Role

| Q             | A
| ------------- | ---
| Branch?       | 4.0 to master
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

Same as [here](https://github.com/symfony/symfony/pull/26286) but this time for 4.0

Commits
-------

3cfe7d0 Add missing use of Role
This commit is contained in:
Robin Chalas 2018-02-23 16:53:28 +01:00
commit 1c1ea5c491
2 changed files with 3 additions and 1 deletions

View File

@ -11,7 +11,7 @@
namespace Symfony\Component\Security\Core\Authentication\Token;
use Symfony\Component\Security\Core\Role\RoleInterface;
use Symfony\Component\Security\Core\Role\Role;
/**
* PreAuthenticatedToken implements a pre-authenticated token.

View File

@ -11,6 +11,8 @@
namespace Symfony\Component\Security\Core\Authentication\Token;
use Symfony\Component\Security\Core\Role\Role;
/**
* UsernamePasswordToken implements a username and password token.
*