GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Code Duplication    Length = 11-11 lines in 5 locations

src/Fallback.php 5 locations

@@ 53-63 (lines=11) @@
50
        });
51
    }
52
53
    public function delete($key)
54
    {
55
        return all([
56
            'primary' => $this->primary->delete($key),
57
            'fallback' => $this->fallback->delete($key),
58
        ])->then(function (array $bool) {
59
            return $bool['primary'] === true && $bool['fallback'] === true;
60
        }, function () {
61
            return false;
62
        });
63
    }
64
65
    public function getMultiple(array $keys, $default = null)
66
    {
@@ 86-96 (lines=11) @@
83
        });
84
    }
85
86
    public function setMultiple(array $values, $ttl = null)
87
    {
88
        return all([
89
            'primary' => $this->primary->setMultiple($values, $ttl),
90
            'fallback' => $this->fallback->setMultiple($values, $ttl),
91
        ])->then(function (array $bool) {
92
            return $bool['primary'] === true && $bool['fallback'] === true;
93
        }, function () {
94
            return false;
95
        });
96
    }
97
98
    public function deleteMultiple(array $keys)
99
    {
@@ 98-108 (lines=11) @@
95
        });
96
    }
97
98
    public function deleteMultiple(array $keys)
99
    {
100
        return all([
101
            'primary' => $this->primary->deleteMultiple($keys),
102
            'fallback' => $this->fallback->deleteMultiple($keys),
103
        ])->then(function (array $bool) {
104
            return $bool['primary'] === true && $bool['fallback'] === true;
105
        }, function () {
106
            return false;
107
        });
108
    }
109
110
    public function clear()
111
    {
@@ 110-120 (lines=11) @@
107
        });
108
    }
109
110
    public function clear()
111
    {
112
        return all([
113
            'primary' => $this->primary->clear(),
114
            'fallback' => $this->fallback->clear(),
115
        ])->then(function (array $bool) {
116
            return $bool['primary'] === true && $bool['fallback'] === true;
117
        }, function () {
118
            return false;
119
        });
120
    }
121
122
    public function has($key)
123
    {
@@ 122-132 (lines=11) @@
119
        });
120
    }
121
122
    public function has($key)
123
    {
124
        return all([
125
            'primary' => $this->primary->has($key),
126
            'fallback' => $this->fallback->has($key),
127
        ])->then(function (array $bool) {
128
            return $bool['primary'] === true && $bool['fallback'] === true;
129
        }, function () {
130
            return false;
131
        });
132
    }
133
}
134