Skip to content

Commit

Permalink
bug #19272 [Security] fixed DebugAccessDecisionManager::setVoters() (…
Browse files Browse the repository at this point in the history
…HeahDude)

This PR was merged into the 3.1 branch.

Discussion
----------

[Security] fixed DebugAccessDecisionManager::setVoters()

| Q             | A
| ------------- | ---
| Branch?       | 3.1
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | schmittjoh/JMSSecurityExtraBundle#207
| License       | MIT
| Doc PR        | ~

Commits
-------

c1a2a0a [Security] fixed DebugAccessDecisionManager::setVoters()
  • Loading branch information
fabpot committed Jul 3, 2016
2 parents 3726aa1 + c1a2a0a commit 95c60c8
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -62,7 +62,7 @@ public function decide(TokenInterface $token, array $attributes, $object = null)
*/
public function setVoters(array $voters)
{
if (!$this->manager instanceof AccessDecisionManager) {
if (!method_exists($this->manager, 'setVoters')) {
return;
}

Expand Down

0 comments on commit 95c60c8

Please sign in to comment.