Skip to content

Commit 9fc86cc

Browse files
committed
[Security] class Security implements AuthorizationCheckerInterface
The class has the method of AuthorizationCheckerInterface already.
1 parent 7a5658c commit 9fc86cc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Security.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,15 @@
1313

1414
use Psr\Container\ContainerInterface;
1515
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
16+
use Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface;
1617
use Symfony\Component\Security\Core\User\UserInterface;
1718

1819
/**
1920
* Helper class for commonly-needed security tasks.
2021
*
2122
* @final
2223
*/
23-
class Security
24+
class Security implements AuthorizationCheckerInterface
2425
{
2526
const ACCESS_DENIED_ERROR = '_security.403_error';
2627
const AUTHENTICATION_ERROR = '_security.last_error';

0 commit comments

Comments
 (0)