Skip to content

Commit bc7109f

Browse files
remove return type definition in order to avoid type juggling
1 parent c51efa6 commit bc7109f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Authorization/Voter/TraceableVoter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function __construct(VoterInterface $voter, EventDispatcherInterface $eve
3939
}
4040
}
4141

42-
public function vote(TokenInterface $token, $subject, array $attributes): int
42+
public function vote(TokenInterface $token, $subject, array $attributes)
4343
{
4444
$result = $this->voter->vote($token, $subject, $attributes);
4545

0 commit comments

Comments
 (0)