Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dc9af52

Browse files
float not double.
See: #2158
1 parent 98fda1b commit dc9af52

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

redis.stub.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ public function bitop(string $operation, string $deskey, string $srckey, string
5252
/** @return int|Redis */
5353
public function bitpos(string $key, int $bit, int $start = 0, int $end = -1);
5454

55-
public function blPop(string|array $key, string|double|int $timeout_or_key, mixed ...$extra_args): array;
55+
public function blPop(string|array $key, string|float|int $timeout_or_key, mixed ...$extra_args): array;
5656

57-
public function brPop(string|array $key, string|double|int $timeout_or_key, mixed ...$extra_args): array;
57+
public function brPop(string|array $key, string|float|int $timeout_or_key, mixed ...$extra_args): array;
5858

5959
public function brpoplpush(string $src, string $dst, int $timeout): string;
6060

redis_arginfo.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* This is a generated file, edit the .stub.php file instead.
2-
* Stub hash: 28b297e0067c033cea6e2c42fb1f42d4585234ac */
2+
* Stub hash: 2c5f558917526d1a034a45b63bf7890bd8cb49e5 */
33

44
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Redis___construct, 0, 0, 0)
55
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_ARRAY, 0, "null")
@@ -72,7 +72,7 @@ ZEND_END_ARG_INFO()
7272

7373
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Redis_blPop, 0, 2, IS_ARRAY, 0)
7474
ZEND_ARG_TYPE_MASK(0, key, MAY_BE_STRING|MAY_BE_ARRAY, NULL)
75-
ZEND_ARG_OBJ_TYPE_MASK(0, timeout_or_key, double, MAY_BE_STRING|MAY_BE_LONG, NULL)
75+
ZEND_ARG_TYPE_MASK(0, timeout_or_key, MAY_BE_STRING|MAY_BE_DOUBLE|MAY_BE_LONG, NULL)
7676
ZEND_ARG_VARIADIC_TYPE_INFO(0, extra_args, IS_MIXED, 0)
7777
ZEND_END_ARG_INFO()
7878

redis_legacy_arginfo.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* This is a generated file, edit the .stub.php file instead.
2-
* Stub hash: 28b297e0067c033cea6e2c42fb1f42d4585234ac */
2+
* Stub hash: 2c5f558917526d1a034a45b63bf7890bd8cb49e5 */
33

44
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Redis___construct, 0, 0, 0)
55
ZEND_ARG_INFO(0, options)

0 commit comments

Comments
 (0)