Skip to content

Commit 0c6dafd

Browse files
committed
update API stubs
Change-Id: I105b6944e03ab4beb41c40661eea83d2a902df67 Reviewed-on: http://review.couchbase.org/c/php-couchbase/+/144353 Tested-by: Build Bot <[email protected]> Reviewed-by: Sergey Avseyev <[email protected]>
1 parent 705de70 commit 0c6dafd

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

api/couchbase.php

+5-8
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
* bytes. For example, the original document consists of 100 bytes. In this case factor 1.0 will require compressor
3737
* to yield values not larger than 100 bytes (100/1.0), and 1.5 -- not larger than 66 bytes (100/1.5).
3838
*
39-
* * `couchbase.decoder.json_arrays` (boolean), default: `false`
39+
* * `couchbase.decoder.json_arrays` (boolean), default: `true`
4040
*
4141
* controls the form of the documents, returned by the server if they were in JSON format. When true, it will generate
4242
* arrays of arrays, otherwise instances of stdClass.
@@ -257,9 +257,7 @@ public function content(): ?array;
257257
*
258258
* @return DateTimeInterface|null
259259
*/
260-
public function expiryTime(): ?DateTimeInterface
261-
{
262-
}
260+
public function expiryTime(): ?DateTimeInterface;
263261
}
264262

265263
/**
@@ -357,9 +355,7 @@ public function status(int $index): int;
357355
*
358356
* @return DateTimeInterface|null
359357
*/
360-
public function expiryTime(): ?DateTimeInterface
361-
{
362-
}
358+
public function expiryTime(): ?DateTimeInterface;
363359
}
364360

365361
/**
@@ -2689,7 +2685,6 @@ class DocIdSearchQuery implements JsonSerializable, SearchQuery
26892685
{
26902686
public function jsonSerialize() {}
26912687

2692-
/** @ignore */
26932688
public function __construct()
26942689
{
26952690
}
@@ -2779,6 +2774,8 @@ public function field(string $field): GeoDistanceSearchQuery
27792774

27802775
class Coordinate implements JsonSerializable
27812776
{
2777+
public function jsonSerialize() {}
2778+
27822779
/**
27832780
* @param float $longitude
27842781
* @param float $latitude

0 commit comments

Comments
 (0)