Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 040d93d

Browse files
committed
minor add missing loop break
1 parent 758e266 commit 040d93d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Symfony/Component/Security/Http/Firewall/AccessListener.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ public function __invoke(RequestEvent $event)
7272
foreach ($attributes as $key => $value) {
7373
if ($this->accessDecisionManager->decide($token, [$key => $value], $request)) {
7474
$granted = true;
75+
break;
7576
}
7677
}
7778

0 commit comments

Comments
 (0)