Skip to content

Commit cedb4c4

Browse files
Add more return types after fixing a typo in my script
1 parent 33aadbe commit cedb4c4

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
@@ -34,7 +34,7 @@ public function __construct(VoterInterface $voter, EventDispatcherInterface $eve
3434
$this->eventDispatcher = LegacyEventDispatcherProxy::decorate($eventDispatcher);
3535
}
3636

37-
public function vote(TokenInterface $token, $subject, array $attributes)
37+
public function vote(TokenInterface $token, $subject, array $attributes): int
3838
{
3939
$result = $this->voter->vote($token, $subject, $attributes);
4040

0 commit comments

Comments
 (0)