Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdf074db

Browse files
vtsykunmichael-grunder
authored andcommitted
the VALUE argument type for hSetNx must be the same as for hSet
1 parent12966a7 commitdf074db

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-
publicfunctionhSetNx(string$key,string$field,string$value):Redis|bool;
1805+
publicfunctionhSetNx(string$key,string$field,mixed$value):Redis|bool;
18061806

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp