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

@@ 256-263 (lines=8) @@
253
        return $response;
254
    }
255
    
256
    public static function validateLatitude($lat)
257
    {
258
        if (!is_numeric($lat)) return false;
259
        
260
        if ($lat>90 || $lat<-90) return false;
261
        
262
        return true;
263
    }
264
    
265
    public static function validateLongitude($lng)
266
    {
@@ 265-272 (lines=8) @@
262
        return true;
263
    }
264
    
265
    public static function validateLongitude($lng)
266
    {
267
        if (!is_numeric($lng)) return false;
268
        
269
        if ($lng>180 || $lng<-180) return false;
270
        
271
        return true;
272
    }
273
    
274
    public function addOrdersFromCsvFile($csvFileHandle, $ordersFieldsMapping)
275
    {