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

src/Route4Me/Order.php 2 locations

@@ 248-255 (lines=8) @@
245
        return $response;
246
    }
247
    
248
    public static function validateLatitude($lat)
249
    {
250
        if (!is_numeric($lat)) {
251
            return false;
252
        }
253
        
254
        if ($lat>90 || $lat<-90) {
255
            return false;
256
        }
257
        
258
        return true;
@@ 261-268 (lines=8) @@
258
        return true;
259
    }
260
    
261
    public static function validateLongitude($lng)
262
    {
263
        if (!is_numeric($lng)) {
264
            return false;
265
        }
266
        
267
        if ($lng>180 || $lng<-180) {
268
            return false;
269
        }
270
        
271
        return true;