We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de4ed30 commit 32cc317Copy full SHA for 32cc317
DependencyInjection/AddValidatorInitializersPass.php
@@ -62,7 +62,7 @@ public function process(ContainerBuilder $container)
62
}
63
64
while (!($class = $translator->getClass()) && $translator instanceof ChildDefinition) {
65
- $translator = $translator->getParent();
+ $translator = $container->findDefinition($translator->getParent());
66
67
68
if (!is_subclass_of($class, LegacyTranslatorInterface::class)) {
0 commit comments