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

src/Str.php 3 locations

@@ 595-601 (lines=7) @@
592
     *
593
     * @return self
594
     */
595
    public function trim(string $mask = null): self
596
    {
597
        return new self(
598
            $mask === null ? trim((string) $this) : trim((string) $this, $mask),
599
            $this->encoding
600
        );
601
    }
602
603
    /**
604
     * Trim the right side of the string
@@ 610-616 (lines=7) @@
607
     *
608
     * @return self
609
     */
610
    public function rightTrim(string $mask = null): self
611
    {
612
        return new self(
613
            $mask === null ? rtrim((string) $this) : rtrim((string) $this, $mask),
614
            $this->encoding
615
        );
616
    }
617
618
    /**
619
     * Trim the left side of the string
@@ 625-631 (lines=7) @@
622
     *
623
     * @return self
624
     */
625
    public function leftTrim(string $mask = null): self
626
    {
627
        return new self(
628
            $mask === null ? ltrim((string) $this) : ltrim((string) $this, $mask),
629
            $this->encoding
630
        );
631
    }
632
633
    /**
634
     * Check if the given string is present in the current one