1
0
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:
orklah 2023-11-08 23:10:38 +01:00 committed by GitHub
commit 0aa5050109
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {}