Skip to content

Commit 750d527

Browse files
committed
[Cookbook][Security] Fix VoterInterface signature
1 parent 4ef746a commit 750d527

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)