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

Source/Traversable.php 2 locations

@@ 309-322 (lines=14) @@
306
        );
307
    }
308
309
    public function keys()
310
    {
311
        return $this->constructScopedSelf(
312
                $this->scheme->reindexerIterator(
313
                        $this->scheme->projectionIterator(
314
                                $this->elements,
315
                                null,
316
                                function ($value, $key) {
317
                                    return $key;
318
                                }
319
                        )
320
                )
321
        );
322
    }
323
324
    public function reindex()
325
    {
@@ 381-391 (lines=11) @@
378
        );
379
    }
380
381
    public function selectMany(callable $function)
382
    {
383
        $projectionIterator =
384
                $this->scheme->projectionIterator(
385
                        $this->elements,
386
                        null,
387
                        $function
388
                );
389
390
        return $this->constructScopedSelf($this->scheme->flattenedIterator($projectionIterator));
391
    }
392
393
    // </editor-fold>
394