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

Map.php 1 location

@@ 302-309 (lines=8) @@
299
300
            $pair = $this->pairs->get($index);
301
302
            if ($map->contains($newKey)) {
303
                $map = $map->put(
304
                    $newKey,
305
                    $map->get($newKey)->add($pair)
306
                );
307
            } else {
308
                $map = $map->put($newKey, new Sequence($pair));
309
            }
310
        }
311
312
        return $map;

Sequence.php 1 location

@@ 232-239 (lines=8) @@
229
                );
230
            }
231
232
            if ($map->contains($key)) {
233
                $map = $map->put(
234
                    $key,
235
                    $map->get($key)->add($value)
236
                );
237
            } else {
238
                $map = $map->put($key, new Sequence($value));
239
            }
240
        }
241
242
        return $map;