Be careful with type hinting & strict types when you fetch numbers from Redis
One tricky thing that we should be aware of, when it comes to retrieving numbers from Redis, using Laravel is that the retrieved value will be a string.
That can cause some unexpected problems, let me show you below an example.
Let's say that we have this dummy