Skip to content

Commit 35963f5

Browse files
committed
Fix #946 re-introducing as optional param for getAliases()
1 parent 6420d38 commit 35963f5

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)