src/LinguaLeo/Cache/Provider/HotCache.php
public function update($key, callable $modifier, $ttl = 0)
    {
        if (array_key_exists($key, $this->cache)) {
            $modifier($this->cache[$key]);
            return $this->cache[$key];
        }

        return false;
    }
public function update($key, callable $modifier, $ttl = 0)
    {
        if (array_key_exists($key, $this->cache)) {
            $modifier($this->cache[$key]);
            return $this->cache[$key];
        }

        return false;
    }
{@inheritdoc}