Skip to content

Commit 0e5b540

Browse files
Add FakeSMS Logger transport
1 parent f80d878 commit 0e5b540

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
@@ -2502,7 +2502,8 @@ private function registerNotifierConfiguration(array $config, ContainerBuilder $
25022502

25032503
if (ContainerBuilder::willBeAvailable('symfony/fake-sms-notifier', FakeSmsTransportFactory::class, ['symfony/framework-bundle', 'symfony/notifier', 'symfony/mailer'])) {
25042504
$container->getDefinition($classToServices[FakeSmsTransportFactory::class])
2505-
->replaceArgument('$mailer', new Reference('mailer'));
2505+
->replaceArgument('$mailer', new Reference('mailer'))
2506+
->replaceArgument('$logger', new Reference('logger'));
25062507
}
25072508

25082509
if (isset($config['admin_recipients'])) {

0 commit comments

Comments
 (0)