Skip to content

Commit

Permalink
Fixed setHosts in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ezimuel committed Sep 19, 2023
1 parent d43fb12 commit 9aa14ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/getting-started.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ endpoint.
[source,php]
----
$client = ClientBuilder::create()
->setElasticsearchEndpoint('<elasticsearch-endpoint>')
->setHosts(['<elasticsearch-endpoint>'])
->setApiKey('<api-key>')
->build();
----
Expand Down

0 comments on commit 9aa14ca

Please sign in to comment.