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/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

@@ 262-273 (lines=12) @@
259
        return $result;
260
    }
261
    
262
    public function removeCustomNoteType($params)
263
    {
264
        $result = Route4Me::makeRequst(array(
265
            'url'    => Endpoint::NOTE_CUSTOM_TYPES_V4,
266
            'method' => 'DELETE',
267
            'body'   => array(
268
                'id' => isset($params['id']) ? $params['id'] : null
269
            )
270
        ));
271
272
        return $result;
273
    }
274
    
275
    public function getAllCustomNoteTypes()
276
    {

src/Route4Me/Route.php 1 location

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