Skip to content

Commit 67fb8ef

Browse files
committed
Fix hardcoded hotPathTagName
1 parent 755d481 commit 67fb8ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/EventDispatcher/DependencyInjection/RegisterListenersPass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public function process(ContainerBuilder $container)
106106
$definition->addMethodCall('addListener', $args);
107107

108108
if (isset($this->hotPathEvents[$args[0]])) {
109-
$container->getDefinition($id)->addTag('container.hot_path');
109+
$container->getDefinition($id)->addTag($this->hotPathTagName);
110110
}
111111
}
112112
$extractingDispatcher->listeners = [];

0 commit comments

Comments
 (0)