From 78d403eec0d4887978a48fde0a63b096b24259d2 Mon Sep 17 00:00:00 2001 From: Liakhovskyi Vladyslav Date: Tue, 30 Jan 2024 12:01:17 +0200 Subject: [PATCH] fix typo --- src/Index/AliasProcessor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Index/AliasProcessor.php b/src/Index/AliasProcessor.php index 807118353..9f62e33bc 100644 --- a/src/Index/AliasProcessor.php +++ b/src/Index/AliasProcessor.php @@ -180,7 +180,7 @@ private function getAliasedIndex(Client $client, string $aliasName): ?string } if (\count($aliasedIndexes) > 1) { - throw new \RuntimeException(\sprintf('Alias "%s" is used for multiple indexes: ["%s"]. Make sure it\'seither not used or is assigned to one index only', $aliasName, \implode('", "', $aliasedIndexes))); + throw new \RuntimeException(\sprintf('Alias "%s" is used for multiple indexes: ["%s"]. Make sure it\'s either not used or is assigned to one index only', $aliasName, \implode('", "', $aliasedIndexes))); } return \array_shift($aliasedIndexes);