Skip to content

Commit d3e6a59

Browse files
committed
[Security] Relax return type on VoterInterface
Signed-off-by: Alexander M. Turek <me@derrabus.de>
1 parent ab0baba commit d3e6a59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Security/Core/Authorization/Voter/VoterInterface.php

+1-1
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)