From 47c13fae1372af1ab20150ac68622932c5825a6c Mon Sep 17 00:00:00 2001 From: Tobias Nyholm Date: Wed, 3 Aug 2016 13:27:12 +0200 Subject: [PATCH] Bugfix --- DependencyInjection/HappyrGoogleAnalyticsExtension.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DependencyInjection/HappyrGoogleAnalyticsExtension.php b/DependencyInjection/HappyrGoogleAnalyticsExtension.php index 72841ef..bed610d 100644 --- a/DependencyInjection/HappyrGoogleAnalyticsExtension.php +++ b/DependencyInjection/HappyrGoogleAnalyticsExtension.php @@ -38,8 +38,8 @@ public function load(array $configs, ContainerBuilder $container) } else { $container->register('happyr.google_analytics.http.client', HttpClient::class) ->setPublic(false) - ->addArgument(0, new Reference($config['http_client'])) - ->addArgument(1, new Reference($config['http_message_factory'])) + ->addArgument(new Reference($config['http_client'])) + ->addArgument(new Reference($config['http_message_factory'])) ->addArgument($config['endpoint']); }