Code Duplication    Length = 3-3 lines in 2 locations

src/Cache/LocalCacheAdapter.php 2 locations

@@ 112-114 (lines=3) @@
109
    {
110
111
        // query whether or not the item has been cached, and if yes if the cache is valid
112
        if (isset($this->cache[$resolvedKey = $this->resolveReference($this->cacheKey($key))])) {
113
            return $this->cache[$resolvedKey];
114
        }
115
116
        // return FALSE in all other cases
117
        return false;
@@ 217-219 (lines=3) @@
214
     */
215
    public function fromCache($key)
216
    {
217
        if (isset($this->cache[$uniqueKey = $this->resolveReference($this->cacheKey($key))])) {
218
            return $this->cache[$uniqueKey];
219
        }
220
    }
221
222
    /**