Code Duplication    Length = 9-10 lines in 2 locations

Redis/Predis.php 2 locations

@@ 30-39 (lines=10) @@
27
        return $this->predis->zadd($zkey, [$value => $score]);
28
    }
29
30
    public function set($key, $value)
31
    {
32
        /** @var Status $result */
33
        $result = $this->predis->set($key, $value);
34
        if ('OK' == $result->getPayload()) {
35
            return true;
36
        }
37
38
        return false;
39
    }
40
41
    public function get($key)
42
    {
@@ 54-62 (lines=9) @@
51
        return $result;
52
    }
53
54
    public function setEx($key, $seconds, $value)
55
    {
56
        $result = $this->predis->setex($key, $seconds, $value);
57
        if ('OK' == $result->getPayload()) {
58
            return true;
59
        }
60
61
        return false;
62
    }
63
64
    public function lRem($lKey, $count, $value)
65
    {