Skip to content

Commit

Permalink
Merge pull request #26 from novaway/feat--getIndexByName-as-public
Browse files Browse the repository at this point in the history
Set visibility of IndexProvider->getName as public
  • Loading branch information
CheapHasz authored Oct 31, 2023
2 parents e758197 + 8cb7fdc commit 6c98e0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Provider/IndexProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 6c98e0c

Please sign in to comment.