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

src/Http/Route.php 2 locations

@@ 265-274 (lines=10) @@
262
     *
263
     * @throws \Kotori\Exception\NotFoundException
264
     */
265
    public function getController()
266
    {
267
        if (isset($this->uris[0]) && '' !== $this->uris[0]) {
268
            $_controller = $this->uris[0];
269
        } else {
270
            throw new NotFoundException('Cannot dispatch controller name.');
271
        }
272
273
        return strip_tags($_controller);
274
    }
275
276
    /**
277
     * Returns the action name
@@ 283-292 (lines=10) @@
280
     *
281
     * @throws \Kotori\Exception\NotFoundException
282
     */
283
    public function getAction()
284
    {
285
        if (isset($this->uris[1])) {
286
            $_action = $this->uris[1];
287
        } else {
288
            throw new NotFoundException('Cannot dispatch action name.');
289
        }
290
291
        return strip_tags($_action);
292
    }
293
294
    /**
295
     * Returns the request params