Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Security] Example does not follow RoleVoter api #3708

Copy link
Copy link
Closed
@bystones

Description

@bystones
Issue body actions

Hi,
the RoleVoter example in the docs (http://symfony.com/doc/current/components/security/authorization.html#rolevoter) uses vote with a string a third parameter. The api (http://api.symfony.com/2.4/Symfony/Component/Security/Core/Authorization/Voter/RoleVoter.html#method_vote) says the third parameter must be an array.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.