mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
Merge pull request #10355 from greg0ire/allow-int
Allow int keys when calling Redis methods
This commit is contained in:
commit
0aa5050109
@ -276,12 +276,12 @@ class Redis {
|
||||
public function move(string $key, int $index): bool {}
|
||||
|
||||
/**
|
||||
* @param array<string, string>
|
||||
* @param array<int|string, string>
|
||||
*/
|
||||
public function mset($key_values): Redis|bool {}
|
||||
|
||||
/**
|
||||
* @param array<string, string>
|
||||
* @param array<int|string, string>
|
||||
*/
|
||||
public function msetnx($key_values): Redis|bool {}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user