src/LinguaLeo/Cache/Provider/RedisCache.php
public function increment($key, $value = 1)
    {
        if ($value < 1) {
            throw new \InvalidArgumentException('Value of incrementation must be greater that nil.');
        }
        if ($value === 1) {
            return $this->redis->incr($key);
        }
        return $this->redis->incrBy($key, $value);
    }
public function increment($key, $value = 1)
    {
        if ($value < 1) {
            throw new \InvalidArgumentException('Value of incrementation must be greater that nil.');
        }
        if ($value === 1) {
            return $this->redis->incr($key);
        }
        return $this->redis->incrBy($key, $value);
    }
{@inheritdoc}