Permalink
Browse files

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
  • Loading branch information...
weaverryan committed Mar 9, 2014
2 parents 2657ee7 + 750d527 commit 9f7d7423434e0092135e614bd144613d4ca07f6c
Showing with 1 addition and 1 deletion.
  1. +1 −1 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`

0 comments on commit 9f7d742

Please sign in to comment.