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

src/Route4Me/Order.php 1 location

@@ 227-236 (lines=10) @@
224
        return $response;
225
    }
226
    
227
    public static function updateOrder($body)
228
    {
229
        $response = Route4Me::makeRequst(array(
230
            'url'    => Endpoint::ORDER_V4,
231
            'method' => 'PUT',
232
            'body'   => (array)$body
233
        ));
234
235
        return $response;
236
    }
237
    
238
    public static function searchOrder($params)
239
    {

src/Route4Me/Vehicle.php 1 location

@@ 110-118 (lines=9) @@
107
        return $vehicles['data'][$randomIndex]['vehicle_id'];
108
    }
109
    
110
    public function getVehicleByID($vehicleID)
111
    {
112
        $response = Route4Me::makeRequst(array(
113
            'url'    => Endpoint::VEHICLE_V4 . '/' . $vehicleID,
114
            'method' => 'GET'
115
        ));
116
117
        return $response;
118
    }
119
    
120
    public function updateVehicle($params)
121
    {