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-11 lines in 3 locations

Collection.php 3 locations

@@ 391-401 (lines=11) @@
388
    /**
389
     * {@inheritdoc}
390
     */
391
    public function sort($flags = SORT_REGULAR)
392
    {
393
        $values = $this->values;
394
        $bool = sort($values, (int) $flags);
395
396
        if ($bool === false) {
397
            throw new \Exception('Sort failure');
398
        }
399
400
        return new self($values);
401
    }
402
403
    /**
404
     * {@inheritdoc}
@@ 406-416 (lines=11) @@
403
    /**
404
     * {@inheritdoc}
405
     */
406
    public function associativeSort($flags = SORT_REGULAR)
407
    {
408
        $values = $this->values;
409
        $bool = asort($values, (int) $flags);
410
411
        if ($bool === false) {
412
            throw new \Exception('Sort failure');
413
        }
414
415
        return new self($values);
416
    }
417
418
    /**
419
     * {@inheritdoc}
@@ 421-431 (lines=11) @@
418
    /**
419
     * {@inheritdoc}
420
     */
421
    public function keySort($flags = SORT_REGULAR)
422
    {
423
        $values = $this->values;
424
        $bool = ksort($values, (int) $flags);
425
426
        if ($bool === false) {
427
            throw new \Exception('Sort failure');
428
        }
429
430
        return new self($values);
431
    }
432
433
    /**
434
     * {@inheritdoc}