From 2ede3ea3a01a694c1bc7bf8233ca4cc4b788a6f3 Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Tue, 13 Dec 2016 12:46:03 +0100 Subject: [PATCH] BUGFIX: Reorder arguments * As optional arguments should not come before required. --- Classes/Connection/Elasticsearch/Connection.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Classes/Connection/Elasticsearch/Connection.php b/Classes/Connection/Elasticsearch/Connection.php index 64ac46b..e473241 100644 --- a/Classes/Connection/Elasticsearch/Connection.php +++ b/Classes/Connection/Elasticsearch/Connection.php @@ -44,8 +44,8 @@ class Connection implements Singleton * @param \Elastica\Client $elasticaClient */ public function __construct( - \Elastica\Client $elasticaClient = null, - ConfigurationContainerInterface $configuration + ConfigurationContainerInterface $configuration, + \Elastica\Client $elasticaClient = null ) { $this->configuration = $configuration;