Skip to content

Conversation

clue
Copy link
Owner

@clue clue commented Feb 2, 2025

This changeset makes sure we automatically convert numeric arguments passed to any Redis commands. This is particularly useful when using the new callAsync() method with static analysis tools:

// old (still supported)
$redis->callAsync('SET', 'name', 'Alice', 'EX', '60');

// new
$redis->callAsync('GET', 'name', 'Alice', 'EX', 60);

Builds on top of #166, #140, #128, #127 and others

@clue clue added this to the v3.0.0 milestone Feb 2, 2025
@clue clue merged commit 39aa211 into clue:3.x Feb 2, 2025
18 checks passed
@clue clue deleted the numeric-args branch February 2, 2025 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant