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-13 lines in 4 locations

src/Route4Me/Member.php 3 locations

@@ 213-225 (lines=13) @@
210
        return $response;
211
    }
212
213
    public static function deleteMember($body)
214
    {
215
        $response = Route4Me::makeRequst(array(
216
            'url'    => Endpoint::USER_V4,
217
            'method' => 'DELETE',
218
            'body'   => array(
219
                'member_id' =>  isset($body->member_id) ? $body->member_id : null
220
            )
221
222
        ));
223
        
224
        return $response;
225
    }
226
    
227
    public static function newAccountRegistration($body)
228
    {
@@ 344-355 (lines=12) @@
341
        return $response;
342
    }
343
    
344
    public static function removeMemberConfigKey($body)
345
    {
346
        $response = Route4Me::makeRequst(array(
347
            'url'    => Endpoint::CONFIGURATION_SETTINGS,
348
            'method' => 'DELETE',
349
            'body'   => array(
350
                'config_key' =>  isset($body->config_key) ? $body->config_key : null
351
            )
352
        ));
353
        
354
        return $response;
355
    }
356
    
357
    public static function getMemberConfigData($body)
358
    {
@@ 357-368 (lines=12) @@
354
        return $response;
355
    }
356
    
357
    public static function getMemberConfigData($body)
358
    {
359
        $response = Route4Me::makeRequst(array(
360
            'url'    => Endpoint::CONFIGURATION_SETTINGS,
361
            'method' => 'GET',
362
            'query'  => array(
363
                'config_key' =>  isset($body->config_key) ? $body->config_key : null
364
            )
365
        ));
366
        
367
        return $response;
368
    }
369
370
    public static function updateMemberConfigKey($body)
371
    {

src/Route4Me/Order.php 1 location

@@ 206-217 (lines=12) @@
203
        return $order;
204
    }
205
    
206
    public static function removeOrder($params)
207
    {
208
        $response = Route4Me::makeRequst(array(
209
            'url'    => Endpoint::ORDER_V4,
210
            'method' => 'DELETE',
211
            'body'   => array(
212
                'order_ids' =>  isset($params->order_ids) ? $params->order_ids : null
213
            )
214
        ));
215
216
        return $response;
217
    }
218
    
219
    public static function updateOrder($body)
220
    {