8000 bug #30773 [DependencyInjection] Fix hardcoded hotPathTagName (jderusse) · symfony/symfony@1c92836 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1c92836

Browse files
committed
bug #30773 [DependencyInjection] Fix hardcoded hotPathTagName (jderusse)
This PR was merged into the 3.4 branch. Discussion ---------- [DependencyInjection] Fix hardcoded hotPathTagName | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | none | License | MIT | Doc PR | none replace the hardcoded string by the injected variable Commits ------- 67fb8ef Fix hardcoded hotPathTagName
2 parents 6b8ff62 + 67fb8ef commit 1c92836

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< 5C53 /code>

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)
0