Skip to content

Commit 1eeece6

Browse files
committed
TASK: Rename getIndexeNamesByPrefix to getIndexNamesByPrefix
1 parent 99a6c41 commit 1eeece6

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

Classes/Driver/IndexDriverInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function getIndexNamesByAlias(string $alias): array;
3333
* @param string $prefix
3434
* @return array
3535
*/
36-
public function getIndexeNamesByPrefix(string $prefix): array;
36+
public function getIndexNamesByPrefix(string $prefix): array;
3737

3838
/**
3939
* Remove alias by name

Classes/Driver/Version5/IndexDriver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public function getIndexNamesByAlias(string $alias): array
8383
* @throws ApiException
8484
* @throws \Neos\Flow\Http\Exception
8585
*/
86-
public function getIndexeNamesByPrefix(string $prefix): array
86+
public function getIndexNamesByPrefix(string $prefix): array
8787
{
8888
$treatedContent = $this->searchClient->request('GET', '/_alias/')->getTreatedContent();
8989

Classes/Indexer/NodeIndexer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ public function updateMainAlias()
547547
$aliasActions = [];
548548
$aliasNamePrefix = $this->searchClient->getIndexNamePrefix(); // The alias name is the unprefixed index name
549549

550-
$indexNames = IndexNameService::filterIndexNamesByPostfix($this->indexDriver->getIndexeNamesByPrefix($aliasNamePrefix), $this->indexNamePostfix);
550+
$indexNames = IndexNameService::filterIndexNamesByPostfix($this->indexDriver->getIndexNamesByPrefix($aliasNamePrefix), $this->indexNamePostfix);
551551

552552
$cleanupAlias = function ($alias) use (&$aliasActions) {
553553
try {

0 commit comments

Comments
 (0)