Code Duplication    Length = 8-8 lines in 2 locations

src/Cache/Cache.php 2 locations

@@ 30-37 (lines=8) @@
27
     *
28
     * @return bool
29
     */
30
    public function has($key)
31
    {
32
        try {
33
            return $this->cacheAdapter->has($key);
34
        } catch (CacheException $e) {
35
            throw new \RuntimeException($e->getMessage(), $e->getCode(), $e);
36
        }
37
    }
38
39
    /**
40
     * @param $key
@@ 65-72 (lines=8) @@
62
     *
63
     * @return bool
64
     */
65
    public function set($key, $value, $ttl = null)
66
    {
67
        try {
68
            return $this->cacheAdapter->set($key, $value, $ttl);
69
        } catch (CacheException $e) {
70
            throw new \RuntimeException($e->getMessage(), $e->getCode(), $e);
71
        }
72
    }
73
74
    /**
75
     * @param $values