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

Commit e0aa8ff

Browse files
committed
PCBC-240: Fixup API descr of return value for touch
Change-Id: I6e2140d2212af5b967bb424ba7346ed792e4d3dd Reviewed-on: http://review.couchbase.org/28568 Reviewed-by: Trond Norbye <trond.norbye@gmail.com> Tested-by: Trond Norbye <trond.norbye@gmail.com>
1 parent 9422594 commit e0aa8ff

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

example/couchbase-api.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,8 @@ function unlock($id, $cas) {
521521
*
522522
* @param string $id identifies the document
523523
* @param integer $expiry the new time to live (0 == infinite)
524-
* @return boolean true upon success
524+
* @return string containing the cas value (note some servers will
525+
* will always return "0" for the cas value)
525526
* @throws CouchbaseException if an error occurs
526527
*/
527528
function touch($id, $expiry) {

0 commit comments

Comments
 (0)