Skip to content

[Security] Example does not follow RoleVoter api #3708

Closed
@bystones

Description

@bystones

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