Skip to content

Commit 42a9713

Browse files
committed
Merge branch 'fix/946'
2 parents 6420d38 + 35963f5 commit 42a9713

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Elasticsearch/Namespaces/IndicesNamespace.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -687,10 +687,10 @@ public function validateQuery(array $params = [])
687687
/**
688688
* Alias function to getAlias()
689689
*
690-
* @deprecated added to prevent BC break introduced in 7.2.0
690+
* @deprecated added to prevent BC break introduced in 7.2.0 and 7.2.1
691691
* @see https://github.com/elastic/elasticsearch-php/issues/940
692692
*/
693-
public function getAliases(array $params)
693+
public function getAliases(array $params = [])
694694
{
695695
return $this->getAlias($params);
696696
}

0 commit comments

Comments
 (0)