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

src/Map.php 2 locations

@@ 146-157 (lines=12) @@
143
        return new self($items);
144
    }
145
146
    public function replaceKey(string $key, $replacementValue): self
147
    {
148
        if (!$this->containsKey($key)) {
149
            throw OutOfRangeException::doesNotContainKey($key);
150
        }
151
152
        $items = $this->items;
153
154
        $items[$key] = $replacementValue;
155
156
        return new self($items);
157
    }
158
159
    public function remove($value): self
160
    {
@@ 185-196 (lines=12) @@
182
        return new self($items);
183
    }
184
185
    public function removeKey(string $key): self
186
    {
187
        if (!$this->containsKey($key)) {
188
            throw OutOfRangeException::doesNotContainKey($key);
189
        }
190
191
        $items = $this->items;
192
193
        unset($items[$key]);
194
195
        return new self($items);
196
    }
197
198
    public function merge(self $other): self
199
    {