Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
l-you committed Jan 30, 2024
1 parent c8652ab commit 78d403e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Index/AliasProcessor.php
Expand Up @@ -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);
Expand Down

0 comments on commit 78d403e

Please sign in to comment.