Skip to content

Commit

Permalink
Re-add the fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aschempp committed Mar 14, 2024
1 parent 51c24e9 commit 376489b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ public function collect(Request $request, Response $response, ?\Throwable $excep
// collect voters and access decision manager information
if ($this->accessDecisionManager instanceof TraceableAccessDecisionManager) {
$this->data['voter_strategy'] = $this->accessDecisionManager->getStrategy();
$this->data['voters'] = [];

foreach ($this->accessDecisionManager->getVoters() as $voter) {
if ($voter instanceof TraceableVoter) {
Expand Down

0 comments on commit 376489b

Please sign in to comment.