Skip to content

Commit

Permalink
Merge pull request #10355 from greg0ire/allow-int
Browse files Browse the repository at this point in the history
Allow int keys when calling Redis methods
  • Loading branch information
orklah authored Nov 8, 2023
2 parents 5f07988 + ba17015 commit 0aa5050
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stubs/extensions/redis.phpstub
Original file line number Diff line number Diff line change
Expand Up @@ -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 {}

Expand Down

0 comments on commit 0aa5050

Please sign in to comment.