Skip to content

Commit

Permalink
bug #3709 [Components][Security] Fix #3708 (bicpi)
Browse files Browse the repository at this point in the history
This PR was merged into the 2.3 branch.

Discussion
----------

[Components][Security] Fix #3708

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | all
| Fixed tickets | #3708

Commits
-------

da025b1 [Components][Security] Fix #3708
  • Loading branch information
weaverryan committed Mar 24, 2014
2 parents e15afe0 + da025b1 commit 06c56c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/security/authorization.rst
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ method::

$roleVoter = new RoleVoter('ROLE_');

$roleVoter->vote($token, $object, 'ROLE_ADMIN');
$roleVoter->vote($token, $object, array('ROLE_ADMIN'));

RoleHierarchyVoter
~~~~~~~~~~~~~~~~~~
Expand Down

0 comments on commit 06c56c1

Please sign in to comment.