Commit 93fa9f6
committed
Fix the type of the options of the RedisArray constructor
The options may have any type: for example, connect_timeout and
read_timeout are numbers, lazy_connect and consistent are booleans,
function and distributor are callables, previous is an array.
See the phpredis documentation of RedisArray:
https://github.com/phpredis/phpredis/blob/develop/arrays.md
and the phpredis stub of the constructor:
https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php1 parent 4d699ef commit 93fa9f6
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8737 | 8737 | | |
8738 | 8738 | | |
8739 | 8739 | | |
8740 | | - | |
| 8740 | + | |
8741 | 8741 | | |
8742 | 8742 | | |
8743 | 8743 | | |
| |||
0 commit comments