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

@@ 322-330 (lines=9) @@
319
    /**
320
     * {@inheritdoc}
321
     */
322
    public function pad(int $size, $element): StreamInterface
323
    {
324
        $this->spec->validate($element);
325
326
        $stream = clone $this;
327
        $stream->values = $this->values->pad($size, $element);
328
329
        return $stream;
330
    }
331
332
    /**
333
     * {@inheritdoc}
@@ 442-450 (lines=9) @@
439
    /**
440
     * {@inheritdoc}
441
     */
442
    public function add($element): StreamInterface
443
    {
444
        $this->spec->validate($element);
445
446
        $stream = clone $this;
447
        $stream->values = $this->values->add($element);
448
449
        return $stream;
450
    }
451
452
    /**
453
     * {@inheritdoc}