8000
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.
2 parents b443459 + 1008991 commit 13495c2Copy full SHA for 13495c2
src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Compiler/LoggingTranslatorPass.php
@@ -30,7 +30,7 @@ public function process(ContainerBuilder $container)
30
return;
31
}
32
33
- if ($container->getParameter('translator.logging')) {
+ if ($container->hasParameter('translator.logging') && $container->getParameter('translator.logging')) {
34
$translatorAlias = $container->getAlias('translator');
35
$definition = $container->getDefinition((string) $translatorAlias);
36
$class = $container->getParameterBag()->resolveValue($definition->getClass());
0 commit comments