bug #19272 [Security] fixed DebugAccessDecisionManager::setVoters() (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 | https://github.com/schmittjoh/JMSSecurityExtraBundle/issues/207
| License | MIT
| Doc PR | ~
Commits
-------
c1a2a0a
[Security] fixed DebugAccessDecisionManager::setVoters()
This commit is contained in:
commit
95c60c8413
@ -62,7 +62,7 @@ class DebugAccessDecisionManager implements AccessDecisionManagerInterface
|
||||
*/
|
||||
public function setVoters(array $voters)
|
||||
{
|
||||
if (!$this->manager instanceof AccessDecisionManager) {
|
||||
if (!method_exists($this->manager, 'setVoters')) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user