Code Duplication    Length = 9-10 lines in 2 locations

Redis/Predis.php 2 locations

@@ 25-34 (lines=10) @@
22
        return $this->predis->zadd($zkey, [$value => $score]);
23
    }
24
25
    public function set($key, $value)
26
    {
27
        /** @var Status $result */
28
        $result = $this->predis->set($key, $value);
29
        if ('OK' == $result->getPayload()) {
30
            return true;
31
        }
32
33
        return false;
34
    }
35
36
    public function get($key)
37
    {
@@ 49-57 (lines=9) @@
46
        return $result;
47
    }
48
49
    public function setEx($key, $seconds, $value)
50
    {
51
        $result = $this->predis->setex($key, $seconds, $value);
52
        if ('OK' == $result->getPayload()) {
53
            return true;
54
        }
55
56
        return false;
57
    }
58
59
    public function lRem($lKey, $count, $value)
60
    {