Code Duplication    Length = 8-8 lines in 2 locations

src/phpFastCache/Helper/Psr16Adapter.php 2 locations

@@ 82-89 (lines=8) @@
79
     * @return bool
80
     * @throws \phpFastCache\Exceptions\phpFastCacheSimpleCacheException
81
     */
82
    public function delete($key)
83
    {
84
        try {
85
            return $this->internalCacheInstance->deleteItem($key);
86
        } catch (phpFastCacheInvalidArgumentException $e) {
87
            throw new phpFastCacheSimpleCacheException($e->getMessage(), null, $e);
88
        }
89
    }
90
91
    /**
92
     * @return bool
@@ 146-153 (lines=8) @@
143
     * @return bool
144
     * @throws \phpFastCache\Exceptions\phpFastCacheSimpleCacheException
145
     */
146
    public function deleteMultiple($keys)
147
    {
148
        try {
149
            return $this->internalCacheInstance->deleteItems($keys);
150
        } catch (phpFastCacheInvalidArgumentException $e) {
151
            throw new phpFastCacheSimpleCacheException($e->getMessage(), null, $e);
152
        }
153
    }
154
155
    /**
156
     * @param string $key