diff --git a/src/Provider/IndexProvider.php b/src/Provider/IndexProvider.php index 952ee78..20a013f 100644 --- a/src/Provider/IndexProvider.php +++ b/src/Provider/IndexProvider.php @@ -143,7 +143,7 @@ public function markAsLive(Index $index, bool $removeOldIndexes = true): bool return true; } - protected function getIndexByName($name): Index + public function getIndexByName($name): Index { return new Index($this->eventDispatcher, $this->client, $name); }