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

src/Route4Me/ActivityParameters.php 2 locations

@@ 37-51 (lines=15) @@
34
			return $activityparameters;
35
		}
36
		
37
		public static function get($params)
38
	    {
39
	    	$activity = Route4Me::makeRequst(array(
40
	            'url'    => self::$apiUrl,
41
	            'method' => 'GET',
42
	            'query'  => array(
43
	                'route_id' => isset($params->route_id) ? $params->route_id : null,
44
	                'team' => isset($params->team) ? $params->team: null,
45
	                'limit' => isset($params->limit) ? $params->limit: null,
46
	                'offset' => isset($params->offset) ? $params->offset : null,
47
	            )
48
	        ));
49
50
			return $activity;
51
		}
52
53
		public static function searcActivities($params)
54
	    {
@@ 53-67 (lines=15) @@
50
			return $activity;
51
		}
52
53
		public static function searcActivities($params)
54
	    {
55
	    	$activity = Route4Me::makeRequst(array(
56
	            'url'    => self::$apiUrl,
57
	            'method' => 'GET',
58
	            'query'  => array(
59
	                'route_id' => isset($params->route_id) ? $params->route_id : null,
60
	                'limit' => isset($params->limit) ? $params->limit: null,
61
	                'offset' => isset($params->offset) ? $params->offset : null,
62
	                'activity_type' => isset($params->activity_type) ? $params->activity_type : null,
63
	            )
64
	        ));
65
66
			return $activity;
67
		}
68
		
69
		public static function sendUserMessage($postParameters)
70
		{

src/Route4Me/AddressBookLocation.php 1 location

@@ 180-194 (lines=15) @@
177
	        return $address;
178
	    }
179
			
180
		public static function get($params)
181
	    {
182
	    	$ablocations = Route4Me::makeRequst(array(
183
	            'url'    => self::$apiUrl,
184
	            'method' => 'ADD',
185
	            'query'  => array(
186
	                'first_name' => isset($params->first_name) ? $params->first_name : null,
187
	                'address_1' => isset($params->address_1) ? $params->address_1: null,
188
	                'cached_lat' => isset($params->cached_lat) ? $params->cached_lat : null,
189
	                'cached_lng' => isset($params->cached_lng) ? $params->cached_lng : null,
190
	            )
191
	        ));
192
193
			return $ablocations;
194
		}
195
        
196
        public static function validateScheduleMode($scheduleMode)
197
        {