Skip to content

Commit 960c8d1

Browse files
committed
PCBC-748: fix *Option#expiry() return value in documentation stubs
Change-Id: Ia7e8e89efb513681a153613706003398c5007a37 Reviewed-on: http://review.couchbase.org/c/php-couchbase/+/144383 Tested-by: Build Bot <[email protected]> Reviewed-by: Sergey Avseyev <[email protected]>
1 parent 0c6dafd commit 960c8d1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

api/couchbase.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -3751,7 +3751,7 @@ public function timeout(int $arg): ReplaceOptions
37513751
* @param int|DateTimeInterface $arg the relative expiry time in seconds or DateTimeInterface object for absolute point in time
37523752
* @return ReplaceOptions
37533753
*/
3754-
public function expiry(mixed $arg): UpsertOptions
3754+
public function expiry(mixed $arg): ReplaceOptions
37553755
{
37563756
}
37573757

@@ -3895,7 +3895,7 @@ public function timeout(int $arg): IncrementOptions
38953895
* @param int|DateTimeInterface $arg the relative expiry time in seconds or DateTimeInterface object for absolute point in time
38963896
* @return IncrementOptions
38973897
*/
3898-
public function expiry(mixed $arg): UpsertOptions
3898+
public function expiry(mixed $arg): IncrementOptions
38993899
{
39003900
}
39013901

@@ -3949,7 +3949,7 @@ public function timeout(int $arg): DecrementOptions
39493949
* @param int|DateTimeInterface $arg the relative expiry time in seconds or DateTimeInterface object for absolute point in time
39503950
* @return DecrementOptions
39513951
*/
3952-
public function expiry(mixed $arg): UpsertOptions
3952+
public function expiry(mixed $arg): DecrementOptions
39533953
{
39543954
}
39553955

@@ -4074,7 +4074,7 @@ public function cas(string $arg): MutateInOptions
40744074
* @param int|DateTimeInterface $arg the relative expiry time in seconds or DateTimeInterface object for absolute point in time
40754075
* @return MutateInOptions
40764076
*/
4077-
public function expiry(mixed $arg): UpsertOptions
4077+
public function expiry(mixed $arg): MutateInOptions
40784078
{
40794079
}
40804080

0 commit comments

Comments
 (0)