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 = 10-11 lines in 2 locations

src/Route4Me/Territory.php 1 location

@@ 101-111 (lines=11) @@
98
	        return $result;
99
	    }
100
		
101
		public function updateTerritory($params)
102
	    {
103
	        $response = Route4Me::makeRequst(array(
104
	            'url'    => self::$apiUrl,
105
	            'method' => 'PUT',
106
	            'query'   => (array)$params,
107
108
	        ));
109
	
110
	        return $response;
111
	    }
112
	}
113
	
114
?>

src/Route4Me/Order.php 1 location

@@ 161-170 (lines=10) @@
158
			return $response;
159
		}
160
		
161
		public static function updateOrder($body)
162
	    {
163
	    	$response = Route4Me::makeRequst(array(
164
	            'url'    => self::$apiUrl,
165
	            'method' => 'PUT',
166
	            'body'  => (array)$body
167
	        ));
168
169
			return $response;
170
		}
171
		
172
		public static function searchOrder($params)
173
	    {