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

src/Str.php 2 locations

@@ 103-105 (lines=3) @@
100
            return new static();
101
        }
102
103
        if ($start == '') {
104
            return new static(substr($this->string, 0, strpos($this->string, $end)));
105
        }
106
107
        if ($end == '') {
108
            return new static(substr($this->string, strpos($this->string, $start) + strlen($start)));
@@ 107-109 (lines=3) @@
104
            return new static(substr($this->string, 0, strpos($this->string, $end)));
105
        }
106
107
        if ($end == '') {
108
            return new static(substr($this->string, strpos($this->string, $start) + strlen($start)));
109
        }
110
111
        $stringWithoutStart = explode($start, $this->string)[1];
112