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 = 9-9 lines in 2 locations

src/Filesystem.php 2 locations

@@ 115-123 (lines=9) @@
112
            $promises[$key] = $this->set($key, $value, $ttl);
113
        }
114
115
        return all($promises)->then(function ($results) {
116
            foreach ($results as $result) {
117
                if ($result === false) {
118
                    return resolve(false);
119
                }
120
            }
121
122
            return resolve(true);
123
        });
124
    }
125
126
    public function deleteMultiple(array $keys): PromiseInterface
@@ 133-141 (lines=9) @@
130
            $promises[$key] = $this->delete($key);
131
        }
132
133
        return all($promises)->then(function ($results) {
134
            foreach ($results as $result) {
135
                if ($result === false) {
136
                    return resolve(false);
137
                }
138
            }
139
140
            return resolve(true);
141
        });
142
    }
143
144
    public function clear(): PromiseInterface