Skip to content

Commit 9f64dfd

Browse files
committed
minor #10412 Remove useless use statements (FabienPapet)
This PR was submitted for the master branch but it was merged into the 4.1 branch instead (closes #10412). Discussion ---------- Remove useless use statements While browsing the documentation, I found out that these 2 statements where not used. Commits ------- 98c22b3 Remove useless use statements
2 parents 78d6598 + 98c22b3 commit 9f64dfd

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

security/impersonating_user.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,6 @@ In some cases you may need to get the object that represents the impersonator
9393
user rather than the impersonated user. Use the following snippet to iterate
9494
over the user's roles until you find one that is a ``SwitchUserRole`` object::
9595

96-
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
97-
use Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface;
9896
use Symfony\Component\Security\Core\Role\SwitchUserRole;
9997
use Symfony\Component\Security\Core\Security;
10098
// ...

0 commit comments

Comments
 (0)