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

src/Stream.php 2 locations

@@ 332-340 (lines=9) @@
329
    /**
330
     * {@inheritdoc}
331
     */
332
    public function pad(int $size, $element): StreamInterface
333
    {
334
        $this->spec->validate($element);
335
336
        $stream = clone $this;
337
        $stream->values = $this->values->pad($size, $element);
338
339
        return $stream;
340
    }
341
342
    /**
343
     * {@inheritdoc}
@@ 452-460 (lines=9) @@
449
    /**
450
     * {@inheritdoc}
451
     */
452
    public function add($element): StreamInterface
453
    {
454
        $this->spec->validate($element);
455
456
        $stream = clone $this;
457
        $stream->values = $this->values->add($element);
458
459
        return $stream;
460
    }
461
462
    /**
463
     * {@inheritdoc}