Repository navigation
Commit 6a1df42
Fix stale phpredis signatures in functionMap
42 Redis, RedisArray and RedisCluster entries described parameters from
phpredis 4/5 that no longer match phpredis 6 (and the phpstorm-stubs):
wrong parameter count, optionality or variadics. Since the functionMap
wins over the stubs for parameters, this caused false positives when
overriding these methods, e.g. in Symfony's RedisProxy and
RedisClusterProxy, and wrong parameter types assigned by position,
e.g. float $member in Redis::georadiusbymember().
The parameter lists now follow phpredis 6.3; return types and
parameter types of the kept parameters stay as they were.
Also removed the old alternative variants (Redis::del'1 etc.) and
entries for methods that phpredis 6 no longer has.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WfLkuAJxafghcVbf9HxEwu1 parent 88b0dde commit 6a1df42
1 file changed
Lines changed: 42 additions & 73 deletions
0 commit comments