8000 the VALUE argument type for hSetNx must be the same as for hSet · phpredis/phpredis@df074db · GitHub
[go: up one dir, main page]

Skip to content

Commit df074db

Browse files
vtsykunmichael-grunder
authored andcommitted
the VALUE argument type for hSetNx must be the same as for hSet
1 parent 12966a7 commit df074db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redis.stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1802,7 +1802,7 @@ public function hSet(string $key, string $member, mixed $value): Redis|int|false
18021802
* $redis->hsetnx('player:1', 'lock', 'enabled');
18031803
* $redis->hsetnx('player:1', 'lock', 'enabled');
18041804
*/
1805-
public function hSetNx(string $key, string $field, string $value): Redis|bool;
1805+
public function hSetNx(string $key, string $field, mixed $value): Redis|bool;
18061806

18071807
/**
18081808
* Get the string length of a hash field

0 commit comments

Comments
 (0)
0