Skip to content

Commit 3d47583

Browse files
committed
[Security] Relax return type on VoterInterface
1 parent 14ee77f commit 3d47583

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Authorization/Voter/VoterInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,5 @@ interface VoterInterface
3535
*
3636
* @return int either ACCESS_GRANTED, ACCESS_ABSTAIN, or ACCESS_DENIED
3737
*/
38-
public function vote(TokenInterface $token, mixed $subject, array $attributes): int;
38+
public function vote(TokenInterface $token, mixed $subject, array $attributes);
3939
}

0 commit comments

Comments
 (0)