We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fefa7a commit 6298c3cCopy full SHA for 6298c3c
Attribute/IsGrantedContext.php
@@ -17,12 +17,12 @@
17
use Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter;
18
use Symfony\Component\Security\Core\User\UserInterface;
19
20
-readonly class IsGrantedContext implements AuthorizationCheckerInterface
+class IsGrantedContext implements AuthorizationCheckerInterface
21
{
22
public function __construct(
23
- public TokenInterface $token,
24
- public ?UserInterface $user,
25
- private AuthorizationCheckerInterface $authorizationChecker,
+ public readonly TokenInterface $token,
+ public readonly ?UserInterface $user,
+ private readonly AuthorizationCheckerInterface $authorizationChecker,
26
) {
27
}
28
0 commit comments