Skip to content

Commit

Permalink
changed order of attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
Yura Paliy committed Jul 19, 2017
1 parent 7fc8bf9 commit da7ab98
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@ public function load(array $configs, ContainerBuilder $container)

if ($config['swift_mailer_batch_size'] >= 0 && class_exists('Symfony\Bundle\SwiftmailerBundle\EventListener\EmailSenderListener')) {
$swiftListener = new Definition('Mcfedr\QueueManagerBundle\Subscriber\SwiftMailerSubscriber', [
$config['swift_mailer_batch_size'],
new Reference('service_container'),
new Reference('logger', ContainerInterface::NULL_ON_INVALID_REFERENCE),
$config['swift_mailer_batch_size'],
]);
$swiftListener->setTags([
'kernel.event_subscriber' => [],
Expand Down

0 comments on commit da7ab98

Please sign in to comment.