Skip to content

Commit 1336b3e

Browse files
[FrameworkBundle] fix debug:event-dispatcher and debug:firewall
1 parent 139674d commit 1336b3e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

DependencyInjection/SecurityExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ private function createFirewall(ContainerBuilder $container, string $id, array $
385385
// Register Firewall-specific event dispatcher
386386
$firewallEventDispatcherId = 'security.event_dispatcher.'.$id;
387387
$container->register($firewallEventDispatcherId, EventDispatcher::class)
388-
->addTag('event_dispatcher.dispatcher');
388+
->addTag('event_dispatcher.dispatcher', ['name' => $firewallEventDispatcherId]);
389389

390390
// Register listeners
391391
$listeners = [];

Resources/config/debug_console.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
->args([
2020
param('security.firewalls'),
2121
service('security.firewall.context_locator'),
22-
tagged_locator('event_dispatcher.dispatcher'),
22+
tagged_locator('event_dispatcher.dispatcher', 'name'),
2323
[],
2424
false,
2525
])

0 commit comments

Comments
 (0)