Code Duplication    Length = 9-10 lines in 2 locations

Redis/Predis.php 2 locations

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