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

phpmyfaq/inc/PMF/User.php 2 locations

@@ 410-421 (lines=12) @@
407
     *
408
     * @return bool
409
     */
410
    public function checkDisplayName($name)
411
    {
412
        if (!$this->userdata instanceof PMF_User_UserData) {
413
            $this->userdata = new PMF_User_UserData($this->config);
414
        }
415
416
        if ($name === $this->userdata->fetch('display_name', $name)) {
417
            return true;
418
        } else {
419
            return false;
420
        }
421
    }
422
423
    /**
424
     * Checks if email address is already used. Returns true, if already in use
@@ 430-441 (lines=12) @@
427
     *
428
     * @return bool
429
     */
430
    public function checkMailAddress($name)
431
    {
432
        if (!$this->userdata instanceof PMF_User_UserData) {
433
            $this->userdata = new PMF_User_UserData($this->config);
434
        }
435
436
        if ($name === $this->userdata->fetch('email', $name)) {
437
            return true;
438
        } else {
439
            return false;
440
        }
441
    }
442
443
    /**
444
     * search users by login