Skip to content

Commit 425cf57

Browse files
committed
Fixed setHosts in docs
1 parent 6f55950 commit 425cf57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/getting-started.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ endpoint.
5151
[source,php]
5252
----
5353
$client = ClientBuilder::create()
54-
->setElasticsearchEndpoint('<elasticsearch-endpoint>')
54+
->setHosts(['<elasticsearch-endpoint>'])
5555
->setApiKey('<api-key>')
5656
->build();
5757
----

0 commit comments

Comments
 (0)