Skip to content

Commit 9ae9bab

Browse files
committed
FIX: use setArgument instead of addArgument.
1 parent af57dce commit 9ae9bab

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Diff for: DependencyInjection/HalloVerdenHttpExceptionsExtension.php

+1-3
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@ protected function loadInternal(array $mergedConfig, ContainerBuilder $container
2323

2424
$exceptionLog = $container->getDefinition(ExceptionLogServiceInterface::class);
2525
if ($exceptionLog->getClass() === ExceptionLogService::class) {
26-
$exceptionLog->addArgument([
27-
'$useFlattenException' => $mergedConfig['exception_log']['use_flatten_exception']
28-
]);
26+
$exceptionLog->setArgument('$useFlattenException', $mergedConfig['exception_log']['use_flatten_exception']);
2927
}
3028
}
3129
}

0 commit comments

Comments
 (0)