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

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