Skip to content

Commit

Permalink
minor #3654 [Cookbook][Security] Fix VoterInterface signature (bicpi)
Browse files Browse the repository at this point in the history
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 9f7d742
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cookbook/security/voter_interface.rst.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit 9f7d742

Please sign in to comment.