From da7ab98aab71bb1c8ab46e0ee071e2dc0903592e Mon Sep 17 00:00:00 2001 From: Yura Paliy Date: Wed, 19 Jul 2017 17:50:07 +0300 Subject: [PATCH] changed order of attributes --- .../DependencyInjection/McfedrQueueManagerExtension.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mcfedr/QueueManagerBundle/DependencyInjection/McfedrQueueManagerExtension.php b/src/Mcfedr/QueueManagerBundle/DependencyInjection/McfedrQueueManagerExtension.php index d5fe3aa..31d783d 100644 --- a/src/Mcfedr/QueueManagerBundle/DependencyInjection/McfedrQueueManagerExtension.php +++ b/src/Mcfedr/QueueManagerBundle/DependencyInjection/McfedrQueueManagerExtension.php @@ -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' => [],