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/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
    {

src/Route4Me/Order.php 1 location

@@ 219-228 (lines=10) @@
216
        return $response;
217
    }
218
    
219
    public static function updateOrder($body)
220
    {
221
        $response = Route4Me::makeRequst(array(
222
            'url'    => Endpoint::ORDER_V4,
223
            'method' => 'PUT',
224
            'body'   => (array)$body
225
        ));
226
227
        return $response;
228
    }
229
    
230
    public static function searchOrder($params)
231
    {