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 = 14-15 lines in 2 locations

src/Route4Me/Member.php 1 location

@@ 271-285 (lines=15) @@
268
        return $response;
269
    }
270
    
271
    public static function memberAuthentication($body)
272
    {
273
        $response = Route4Me::makeRequst(array(
274
            'url'    => Endpoint::AUTHENTICATE,
275
            'method' => 'POST',
276
            'body'   => array(
277
                'strEmail'    => isset($body->strEmail) ? $body->strEmail : null,
278
                'strPassword' => isset($body->strPassword) ? $body->strPassword : null,
279
                'format'      => isset($body->format) ? $body->format : null
280
            ),
281
            'HTTPHEADER'  => 'Content-Type: multipart/form-data'
282
        ));
283
        
284
        return $response;
285
    }
286
    
287
    public static function webinarRegistration($body)
288
    {

src/Route4Me/Territory.php 1 location

@@ 55-68 (lines=14) @@
52
		return $territory;
53
	}
54
	
55
	public static function getTerritories($params)
56
	{
57
		$response = Route4Me::makeRequst(array(
58
			'url'    => Endpoint::TERRITORY_V4,
59
			'method' => 'GET',
60
			'query'  => array(
61
				'offset'  => isset($params->offset) ? $params->offset : null,
62
				'limit'   => isset($params->limit) ? $params->limit : null,
63
				'addresses'    => isset($params['addresses']) ? $params['addresses'] : null,
64
			)
65
		));
66
67
		return $response;
68
	}
69
70
	public static function addTerritory($params)
71
	{