Skip to content

Commit

Permalink
Merge pull request #3 from fenix20113/fix-attributes-order
Browse files Browse the repository at this point in the history
changed order of attributes
  • Loading branch information
mcfedr authored Jul 19, 2017
2 parents 7fc8bf9 + da7ab98 commit b526e3d
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 b526e3d

Please sign in to comment.