minor add missing loop break
This commit is contained in:
parent
758e266f48
commit
040d93d5b5
@ -72,6 +72,7 @@ class AccessListener implements ListenerInterface
|
|||||||
foreach ($attributes as $key => $value) {
|
foreach ($attributes as $key => $value) {
|
||||||
if ($this->accessDecisionManager->decide($token, [$key => $value], $request)) {
|
if ($this->accessDecisionManager->decide($token, [$key => $value], $request)) {
|
||||||
$granted = true;
|
$granted = true;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user