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

src/Modules/User.php 2 locations

@@ 63-70 (lines=8) @@
60
     * @param string Id of the user
61
     * @return object Result of the request
62
     */
63
    public function Token($username, $password)
64
    {
65
        $args = [
66
            'username' => $username,
67
            'password' => $password
68
        ];
69
        return $this->request(self::HTTP_POST, "/getToken", $args);
70
    }
71
72
    /**
73
     * Delete a user object by user id
@@ 77-84 (lines=8) @@
74
     * @param string Id of the user
75
     * @return object Result of the request
76
     */
77
    public function ApiKey($username, $password)
78
    {
79
        $args = [
80
            'username' => $username,
81
            'password' => $password
82
        ];
83
        return $this->request(self::HTTP_POST, "/getApiKey", $args);
84
    }
85
}
86