Skip to content

Commit 6298c3c

Browse files
Remove non-final readonly classes
1 parent 9fefa7a commit 6298c3c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Attribute/IsGrantedContext.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717
use Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter;
1818
use Symfony\Component\Security\Core\User\UserInterface;
1919

20-
readonly class IsGrantedContext implements AuthorizationCheckerInterface
20+
class IsGrantedContext implements AuthorizationCheckerInterface
2121
{
2222
public function __construct(
23-
public TokenInterface $token,
24-
public ?UserInterface $user,
25-
private AuthorizationCheckerInterface $authorizationChecker,
23+
public readonly TokenInterface $token,
24+
public readonly ?UserInterface $user,
25+
private readonly AuthorizationCheckerInterface $authorizationChecker,
2626
) {
2727
}
2828

0 commit comments

Comments
 (0)