BedrockStreaming / RedisMock

A simple PHP Redis mock
http://tech.m6web.fr/redismock-qui-a-bouchonne-mon-redis.html
MIT License
81 stars 60 forks source link

Zset methods returns score as string #87

Closed magnetik closed 5 years ago

magnetik commented 5 years ago

zscore and zrange (with scores) in redis returns scores as string.

It can be surprising that the test pass when the score is handled as an integer in testing, and as string in production (in the context of strict typing)

magnetik commented 5 years ago

Thanks all 👍