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

myth/Controllers/ThemedController.php 2 locations

@@ 373-380 (lines=8) @@
370
     *
371
     * @param [type] $filename [description]
372
     */
373
    public function addScript($filename)
374
    {
375
        if (strpos($filename, 'http') === FALSE) {
376
            $filename = base_url() . 'assets/js/' . $filename;
377
        }
378
379
        $this->external_scripts[] = $filename;
380
    }
381
382
    //--------------------------------------------------------------------
383
@@ 387-394 (lines=8) @@
384
    /**
385
     * Adds an external stylesheet file to the 'stylesheets' array.
386
     */
387
    public function addStyle($filename)
388
    {
389
        if (strpos($filename, 'http') === FALSE) {
390
            $filename = base_url() . 'assets/css/' . $filename;
391
        }
392
393
        $this->stylesheets[] = $filename;
394
    }
395
396
    //--------------------------------------------------------------------
397
}