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/Route4Me/Member.php 1 location

@@ 89-100 (lines=12) @@
86
        return $response;
87
    }
88
    
89
    public static function getUser($params)
90
    {
91
        $response = Route4Me::makeRequst(array(
92
            'url'    => Endpoint::USER_V4,
93
            'method' => 'GET',
94
            'query'  => array(
95
                'member_id' => isset($params['member_id']) ? $params['member_id'] : null
96
            )
97
        ));
98
99
        return $response;
100
    }
101
    
102
    public static function getUserLocations($param)
103
    {

src/Route4Me/Address.php 1 location

@@ 239-250 (lines=12) @@
236
        return $result;
237
    }
238
    
239
    public function removeCustomNoteType($params)
240
    {
241
        $result = Route4Me::makeRequst(array(
242
            'url'    => Endpoint::NOTE_CUSTOM_TYPES_V4,
243
            'method' => 'DELETE',
244
            'body'   => array(
245
                'id' => isset($params['id']) ? $params['id'] : null
246
            )
247
        ));
248
249
        return $result;
250
    }
251
    
252
    public function getAllCustomNoteTypes()
253
    {