diff --git a/cookbook/security/voter_interface.rst.inc b/cookbook/security/voter_interface.rst.inc index 2250ce0529c..1a3cd989e3c 100644 --- a/cookbook/security/voter_interface.rst.inc +++ b/cookbook/security/voter_interface.rst.inc @@ -4,7 +4,7 @@ { public function supportsAttribute($attribute); public function supportsClass($class); - public function vote(TokenInterface $token, $post, array $attributes); + public function vote(TokenInterface $token, $object, array $attributes); } The :method:`Symfony\\Component\\Security\\Core\\Authorization\\Voter\\VoterInterface::supportsAttribute`