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

Map.php 1 location

@@ 292-298 (lines=7) @@
289
        foreach ($this->keys as $index => $key) {
290
            $newKey = $discriminator($key, $this->values->get($index));
291
292
            if ($map === null) {
293
                $type = gettype($newKey);
294
                $map = new self(
295
                    $type === 'object' ? get_class($newKey) : $type,
296
                    SequenceInterface::class
297
                );
298
            }
299
300
            $pair = $this->pairs->get($index);
301

Sequence.php 1 location

@@ 223-229 (lines=7) @@
220
        foreach ($this->values as $value) {
221
            $key = $discriminator($value);
222
223
            if ($map === null) {
224
                $type = gettype($key);
225
                $map = new Map(
226
                    $type === 'object' ? get_class($key) : $type,
227
                    SequenceInterface::class
228
                );
229
            }
230
231
            if ($map->contains($key)){
232
                $map = $map->put(