8000 Re-add the fix · symfony/symfony@994db4c · GitHub
[go: up one dir, main page]

Skip to content

Commit 994db4c

Browse files
committed
Re-add the fix
1 parent 51c24e9 commit 994db4c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Symfony/Bundle/SecurityBundle/DataCollector/SecurityDataCollector.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ public function collect(Request $request, Response $response, ?\Throwable $excep
145145
// collect voters and access decision manager information
146146
if ($this->accessDecisionManager instanceof TraceableAccessDecisionManager) {
147147
$this->data['voter_strategy'] = $this->accessDecisionManager->getStrategy();
148+
$this->data['voters'] = [];
148149

149150
foreach ($this->accessDecisionManager->getVoters() as $voter) {
150151
if ($voter instanceof TraceableVoter) {

0 commit comments

Comments
 (0)
0