Skip to content
This repository was archived by the owner on Apr 20, 2022. It is now read-only.

Commit 5e64d8b

Browse files
committed
Correct documentation error for getReplica.
Change-Id: I9bb65b8aaecb03307bf40fae5d5cecf930ecaa57 Reviewed-on: http://review.couchbase.org/37682 Reviewed-by: Mark Nunberg <mnunberg@haskalah.org> Tested-by: Brett Lawson <brett19@gmail.com>
1 parent cfc659b commit 5e64d8b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

example/couchbase-api.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -382,9 +382,7 @@ function getMulti($ids, &$cas = array(), $flags = 0) {
382382
*
383383
* Examples:
384384
* <code>
385-
* $obj = $cb->getReplica("key",
386-
* array("strategy" => COUCHBASE_REPLICA_SELECT,
387-
* "index" => 0));
385+
* $obj = $cb->getReplica("key", COUCHBASE_REPLICA_SELECT);
388386
*
389387
* returns
390388
* [ "foo" => [ "value" => "bar", "cas" => 0] ]

0 commit comments

Comments
 (0)