src/Upwork/API/Routers/Hr/Contracts.php
public function endContract($reference, $params)
    {
        ApiDebug::p(__FUNCTION__);

        $response = $this->_client->delete('/hr/v2/contracts/' . $reference, $params);
        ApiDebug::p('found response info', $response);

        return $response;
    }
public function endContract($reference, $params)
    {
        ApiDebug::p(__FUNCTION__);

        $response = $this->_client->delete('/hr/v2/contracts/' . $reference, $params);
        ApiDebug::p('found response info', $response);

        return $response;
    }
End Contract

@param   integer $reference Contract reference
@param   array $params Parameters
@return  object