mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 04:45:20 +01:00
Merge pull request #6853 from jirkace/rediscluster_setoption_argument_types
This commit is contained in:
commit
703312278f
@ -11240,7 +11240,7 @@ return [
|
||||
'RedisCluster::setBit' => ['int', 'key'=>'string', 'offset'=>'int', 'value'=>'bool|int'],
|
||||
'RedisCluster::setex' => ['bool', 'key'=>'string', 'ttl'=>'int', 'value'=>'string'],
|
||||
'RedisCluster::setnx' => ['bool', 'key'=>'string', 'value'=>'string'],
|
||||
'RedisCluster::setOption' => ['bool', 'name'=>'string', 'value'=>'string'],
|
||||
'RedisCluster::setOption' => ['bool', 'name'=>'string|int', 'value'=>'string|int'],
|
||||
'RedisCluster::setRange' => ['string', 'key'=>'string', 'offset'=>'int', 'value'=>'string'],
|
||||
'RedisCluster::sInter' => ['list<string>', 'key'=>'string', '...other_keys='=>'string'],
|
||||
'RedisCluster::sInterStore' => ['int', 'dstKey'=>'string', 'key'=>'string', '...other_keys='=>'string'],
|
||||
|
@ -36,6 +36,10 @@ return [
|
||||
'old' => ['resource|false', 'command'=>'string', 'descriptorspec'=>'array', '&w_pipes'=>'resource[]', 'cwd='=>'?string', 'env='=>'?array', 'other_options='=>'array'],
|
||||
'new' => ['resource|false', 'cmd'=>'string|array', 'descriptorspec'=>'array', '&w_pipes'=>'resource[]', 'cwd='=>'?string', 'env='=>'?array', 'other_options='=>'array'],
|
||||
],
|
||||
'RedisCluster::setOption' => [
|
||||
'old' => ['bool', 'name'=>'string', 'value'=>'string'],
|
||||
'new' => ['bool', 'name'=>'string|int', 'value'=>'string|int'],
|
||||
]
|
||||
],
|
||||
'removed' => [
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user