mirror of
https://github.com/Codappix/search_core.git
synced 2024-11-22 12:36:11 +01:00
BUGFIX: Reorder arguments
* As optional arguments should not come before required.
This commit is contained in:
parent
162d383a9d
commit
2ede3ea3a0
1 changed files with 2 additions and 2 deletions
|
@ -44,8 +44,8 @@ class Connection implements Singleton
|
||||||
* @param \Elastica\Client $elasticaClient
|
* @param \Elastica\Client $elasticaClient
|
||||||
*/
|
*/
|
||||||
public function __construct(
|
public function __construct(
|
||||||
\Elastica\Client $elasticaClient = null,
|
ConfigurationContainerInterface $configuration,
|
||||||
ConfigurationContainerInterface $configuration
|
\Elastica\Client $elasticaClient = null
|
||||||
) {
|
) {
|
||||||
$this->configuration = $configuration;
|
$this->configuration = $configuration;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue