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

src/Route4Me/AddressBookLocation.php 1 location

@@ 139-150 (lines=12) @@
136
    /**
137
     * @param AddressBookLocation $params
138
    */
139
    public static function addAdressBookLocation($params)
140
    {
141
        $allBodyFields = Route4Me::getObjectProperties(new AddressBookLocation(), array('address_id', 'in_route_count'));
142
        
143
        $response = Route4Me::makeRequst(array(
144
            'url'    => Endpoint::ADDRESS_BOOK_V4,
145
            'method' => 'POST',
146
            'body'   => Route4Me::generateRequestParameters($allBodyFields, $params)
147
        ));
148
149
        return $response;
150
    }
151
    
152
    public function deleteAdressBookLocation($address_ids)
153
    {

src/Route4Me/Vehicle.php 1 location

@@ 136-148 (lines=13) @@
133
        return $response;
134
    }
135
    
136
    public function createVehicle($params)
137
    {
138
        $allBodyFields = Route4Me::getObjectProperties(new Vehicle(), array('vehicle_id'));
139
        
140
        $response = Route4Me::makeRequst(array(
141
            'url'    => Endpoint::VEHICLE_V4,
142
            'method' => 'POST',
143
            'body'   => Route4Me::generateRequestParameters($allBodyFields, $params),
144
            'HTTPHEADER'  => 'Content-Type: application/json'
145
        ));
146
147
        return $response;
148
    }
149
    
150
    public function removeVehicle($params)
151
    {