From 8cb7fdc1bf58a31ac2bc56157cd906a7af97df91 Mon Sep 17 00:00:00 2001 From: JPD Date: Tue, 31 Oct 2023 11:11:59 +0100 Subject: [PATCH] Set visibility of IndexProvider->getName as public --- src/Provider/IndexProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }