Skip to content
This repository has been archived by the owner on Feb 6, 2022. It is now read-only.

Commit

Permalink
Remove (harmless) extra argument to sprintf
Browse files Browse the repository at this point in the history
  • Loading branch information
TysonAndre committed Jan 30, 2019
1 parent ac4f38c commit 303e495
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DependencyInjection/SwiftmailerExtension.php
Expand Up @@ -221,7 +221,7 @@ protected function configureMailerTransport($name, array $mailer, ContainerBuild
} elseif ('null' === $transport) {
$definitionDecorator = $this->createChildDefinition('swiftmailer.transport.null.abstract');
$container
->setDefinition(sprintf('swiftmailer.mailer.%s.transport.null', $name, $transport), $definitionDecorator)
->setDefinition(sprintf('swiftmailer.mailer.%s.transport.null', $name), $definitionDecorator)
->setArguments([
new Reference(sprintf('swiftmailer.mailer.%s.transport.eventdispatcher', $name)),
])
Expand Down

0 comments on commit 303e495

Please sign in to comment.