Skip to content

Commit 9f7d742

Browse files
committed
minor #3654 [Cookbook][Security] Fix VoterInterface signature (bicpi)
This PR was merged into the 2.3 branch. Discussion ---------- [Cookbook][Security] Fix VoterInterface signature | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | all | Fixed tickets | - Commits ------- 750d527 [Cookbook][Security] Fix VoterInterface signature
2 parents 2657ee7 + 750d527 commit 9f7d742

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbook/security/voter_interface.rst.inc

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
{
55
public function supportsAttribute($attribute);
66
public function supportsClass($class);
7-
public function vote(TokenInterface $token, $post, array $attributes);
7+
public function vote(TokenInterface $token, $object, array $attributes);
88
}
99

1010
The :method:`Symfony\\Component\\Security\\Core\\Authorization\\Voter\\VoterInterface::supportsAttribute`

0 commit comments

Comments
 (0)