Skip to content

Commit f8c1851

Browse files
Add FakeChat Logger transport
1 parent eac054a commit f8c1851

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

DependencyInjection/FrameworkExtension.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2501,7 +2501,8 @@ private function registerNotifierConfiguration(array $config, ContainerBuilder $
25012501

25022502
if (ContainerBuilder::willBeAvailable('symfony/fake-chat-notifier', FakeChatTransportFactory::class, ['symfony/framework-bundle', 'symfony/notifier', 'symfony/mailer'])) {
25032503
$container->getDefinition($classToServices[FakeChatTransportFactory::class])
2504-
->replaceArgument('$mailer', new Reference('mailer'));
2504+
->replaceArgument('$mailer', new Reference('mailer'))
2505+
->replaceArgument('$logger', new Reference('logger'));
25052506
}
25062507

25072508
if (ContainerBuilder::willBeAvailable('symfony/fake-sms-notifier', FakeSmsTransportFactory::class, ['symfony/framework-bundle', 'symfony/notifier', 'symfony/mailer'])) {

0 commit comments

Comments
 (0)