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

src/Route4Me/OptimizationProblem.php 1 location

@@ 245-261 (lines=17) @@
242
        return $optimize;
243
    }
244
    
245
    Public function addDepotsToHybrid($params)
246
    {
247
        $depots = Route4Me::makeRequst(array( 
248
            'url'    => self::$apiHybridDepotUrl,
249
            'method' => 'POST',
250
            'query'  => array(
251
                'optimization_problem_id' => isset($params['optimization_problem_id']) ? $params['optimization_problem_id'] : null,
252
                ),
253
            'body'  => array(
254
                'optimization_problem_id' => isset($params['optimization_problem_id']) ? $params['optimization_problem_id'] : null,
255
                'delete_old_depots' => isset($params['delete_old_depots']) ? $params['delete_old_depots'] : null,
256
                'new_depots' => isset($params['new_depots']) ? $params['new_depots'] : null,
257
            )
258
        ));
259
        
260
        return $depots;
261
    }
262
}
263

src/Route4Me/Address.php 2 locations

@@ 144-158 (lines=15) @@
141
        return $result;
142
    }
143
	
144
	public function markAsDeparted($params)
145
	{
146
		$address = Route4Me::makeRequst(array(
147
            'url'    => self::$apiUrDeparted,
148
            'method' => 'GET',
149
            'query'  => array(
150
                'route_id'   => isset($params['route_id']) ? $params['route_id']: null,
151
                'address_id'   => isset($params['address_id']) ? $params['address_id']: null,
152
                'is_departed'   => isset($params['is_departed']) ? $params['is_departed']: null,
153
                'member_id'   => isset($params['member_id']) ? $params['member_id']: null,
154
            ),
155
        ));
156
157
        return $address;
158
	}
159
	
160
	public function markAsVisited($params)
161
	{
@@ 160-174 (lines=15) @@
157
        return $address;
158
	}
159
	
160
	public function markAsVisited($params)
161
	{
162
		$address = Route4Me::makeRequst(array(
163
            'url'    => self::$apiUrVisited,
164
            'method' => 'GET',
165
            'query'  => array(
166
                'route_id'   => isset($params['route_id']) ? $params['route_id']: null,
167
                'address_id'   => isset($params['address_id']) ? $params['address_id']: null,
168
                'is_visited'   => isset($params['is_visited']) ? $params['is_visited']: null,
169
                'member_id'   => isset($params['member_id']) ? $params['member_id']: null,
170
            ),
171
        ));
172
173
        return $address;
174
	}
175
176
    public function delete()
177
    {