Code Duplication    Length = 8-8 lines in 2 locations

src/phpFastCache/Helper/Psr16Adapter.php 2 locations

@@ 97-104 (lines=8) @@
94
     * @return bool
95
     * @throws \phpFastCache\Exceptions\phpFastCacheSimpleCacheException
96
     */
97
    public function delete($key)
98
    {
99
        try {
100
            return $this->internalCacheInstance->deleteItem($key);
101
        } catch (phpFastCacheInvalidArgumentException $e) {
102
            throw new phpFastCacheSimpleCacheException($e->getMessage(), null, $e);
103
        }
104
    }
105
106
    /**
107
     * @return bool
@@ 167-174 (lines=8) @@
164
     * @return bool
165
     * @throws \phpFastCache\Exceptions\phpFastCacheSimpleCacheException
166
     */
167
    public function deleteMultiple($keys)
168
    {
169
        try {
170
            return $this->internalCacheInstance->deleteItems($keys);
171
        } catch (phpFastCacheInvalidArgumentException $e) {
172
            throw new phpFastCacheSimpleCacheException($e->getMessage(), null, $e);
173
        }
174
    }
175
176
    /**
177
     * @param string $key