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

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