makmonty/RedisAdmin — comment on commit 39cc1373239054f63bcfe9e47e86fe356fdbe051
File: controllers/ListController.php line 31
By johanlaidlaw:

You can just use -1 instead of $size-1
$fields = $this->redis->lrange($key, 0, -1);