Code Duplication    Length = 9-9 lines in 2 locations

plugins/phile/phpFastCache/Classes/PhileToPsr16CacheAdapter.php 2 locations

@@ 76-84 (lines=9) @@
73
     *
74
     * @return mixed|void
75
     */
76
    public function set($key, $value, $time = 300, array $options = array())
77
    {
78
        if (!empty($options)) {
79
            // not longer supported by phpFastCache
80
            trigger_error('Argument $options is deprecated and ignored.', E_USER_WARNING);
81
        }
82
        $key = $this->slug($key);
83
        $this->cacheEngine->set($key, $value, $time);
84
    }
85
86
    /**
87
     * method to delete cache entry
@@ 94-102 (lines=9) @@
91
     *
92
     * @return mixed|void
93
     */
94
    public function delete($key, array $options = array())
95
    {
96
        if (!empty($options)) {
97
            // not longer supported by phpFastCache
98
            trigger_error('Argument $options is deprecated and ignored.', E_USER_WARNING);
99
        }
100
        $key = $this->slug($key);
101
        $this->cacheEngine->delete($key);
102
    }
103
104
    /**
105
     * clean complete cache and delete all cached entries