BUGFIX: Reorder arguments

* As optional arguments should not come before required.
This commit is contained in:
Daniel Siepmann 2016-12-13 12:46:03 +01:00
parent 162d383a9d
commit 2ede3ea3a0
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4

View file

@ -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;