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

src/Router/Router.php 2 locations

@@ 118-129 (lines=12) @@
115
     * @param array $params
116
     * @return string
117
     */
118
    public function assembleFull($name, $params = [])
119
    {
120
        $route = $this->getDefaultRoute($name, $params);
121
        if ($route) {
122
            $route->setRequest($this->getRequest());
123
            return $route->assembleFull($params);
124
        }
125
126
        trigger_error("Route \"$name\" not connected", E_USER_ERROR);
127
128
        return null;
129
    }
130
131
    /**
132
     * @param $name
@@ 176-187 (lines=12) @@
173
     * @param array $params
174
     * @return mixed|string
175
     */
176
    public function assemble($name, $params = [])
177
    {
178
        $route = $this->getDefaultRoute($name, $params);
179
180
        if ($route) {
181
            $route->setRequest($this->getRequest());
182
            return $route->assemble($params);
183
        }
184
185
        trigger_error("Route \"$name\" not connected", E_USER_ERROR);
186
        return null;
187
    }
188
189
    /**
190
     * @return Route