Skip to content

Commit f2a8ff0

Browse files
committed
Merge branch 'fix/940' into 7.2
2 parents 4ddc91a + 42a1446 commit f2a8ff0

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/Elasticsearch/Namespaces/IndicesNamespace.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -684,6 +684,17 @@ public function validateQuery(array $params = [])
684684
return $this->performRequest($endpoint);
685685
}
686686

687+
/**
688+
* Alias function to getAlias()
689+
*
690+
* @deprecated added to prevent BC break introduced in 7.2.0
691+
* @see https://github.com/elastic/elasticsearch-php/issues/940
692+
*/
693+
public function getAliases(array $params)
694+
{
695+
return $this->getAlias($params);
696+
}
697+
687698
/**
688699
* Endpoint: indices.get_alias
689700
*

0 commit comments

Comments
 (0)