8000 Fix merge error with ErrorLoggerCompilerPass · symfony/symfony@0d418de · GitHub
[go: up one dir, main page]

Skip to content

Commit 0d418de

Browse files
authored
Fix merge error with ErrorLoggerCompilerPass
1 parent c947f78 commit 0d418de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Compiler/ErrorLoggerCompilerPass.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ class ErrorLoggerCompilerPass implements CompilerPassInterface
2222
{
2323
public function process(ContainerBuilder $container): void
2424
{
25-
if (!$container->hasDefinition('debug.debug_handlers_listener')) {
25+
if (!$container->hasDefinition('debug.error_handler_configurator')) {
2626
return;
2727
}
2828

29-
$definition = $container->getDefinition('debug.debug_handlers_listener');
29+
$definition = $container->getDefinition('debug.error_handler_configurator');
3030
if ($container->hasDefinition('monolog.logger.php')) {
3131
$definition->replaceArgument(0, new Reference('monolog.logger.php'));
3232
}

0 commit comments

Comments
 (0)
0