src/LinguaLeo/Cache/Decorator/HotCacheDecorator.php
public function update($key, callable $modifier, $ttl = 0)
    {
        $data = $this->cache->update($key, $modifier, $ttl);
        if ($data) {
            $this->hot[$key] = $data;
        }
        return $data;
    }
public function update($key, callable $modifier, $ttl = 0)
    {
        $data = $this->cache->update($key, $modifier, $ttl);
        if ($data) {
            $this->hot[$key] = $data;
        }
        return $data;
    }
{@inheritdoc}