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 3 locations

src/Route4Me/Address.php 1 location

@@ 276-287 (lines=12) @@
273
        return $result;
274
    }
275
    
276
    public function removeCustomNoteType($params)
277
    {
278
        $result = Route4Me::makeRequst(array(
279
            'url'    => Endpoint::NOTE_CUSTOM_TYPES_V4,
280
            'method' => 'DELETE',
281
            'body'   => array(
282
                'id' => isset($params['id']) ? $params['id'] : null
283
            )
284
        ));
285
286
        return $result;
287
    }
288
    
289
    public function getAllCustomNoteTypes()
290
    {

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

@@ 477-489 (lines=13) @@
474
        return $route;
475
    }
476
    
477
    public function GetAssetTracking(array $params)
478
    {
479
        $route = Route4Me::makeRequst(array(
480
            'url'    => Endpoint::STATUS_V4,
481
            'method' => 'GET',
482
            'query'  => array(
483
                'api_key'  => Route4Me::getApiKey(),
484
                'tracking' => isset($params['tracking']) ? $params['tracking'] : null
485
                )
486
        ));
487
488
        return $route;
489
    }
490
}
491