<commit_before><?php

namespace Omnipay\RentMoola\Message;

class DeletePaymentMethodRequest extends AbstractRequest
{
    public function getData()
    {
        $this->validate('userId', 'paymentMethodId');

        $data = array();
        $data['paymentMethodId'] = $this->getPaymentMethodId();
        $data['userId'] = $this->getUserId();

        return $data;
    }

    public function sendData($data)
    {
        $httpResponse = $this->sendRequest(
            'DELETE',
            '/users/'.$this->getUserId().'/payment-methods/'.$this->getPaymentMethodId(),
            null
        );

        json_decode($httpResponse);
        if ($httpResponse->getStatusCode() == 200) {
            return $this->response = new Response($this, '[]');<commit_msg>Removes unused code<commit_after><?php

namespace Omnipay\RentMoola\Message;

class DeletePaymentMethodRequest extends AbstractRequest
{
    public function getData()
    {
        $this->validate('userId', 'paymentMethodId');

        $data = array();
        $data['paymentMethodId'] = $this->getPaymentMethodId();
        $data['userId'] = $this->getUserId();

        return $data;
    }

    public function sendData($data)
    {
        $httpResponse = $this->sendRequest(
            'DELETE',
            '/users/'.$this->getUserId().'/payment-methods/'.$this->getPaymentMethodId(),
            null
        );

        if ($httpResponse->getStatusCode() == 200) {
            return $this->response = new Response($this, '{}');
{'fraction_non_alphanumeric': 0.15712383488681758, 'fraction_numerical': 0.0039946737683089215, 'mean_word_length': 2.5956937799043063, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1448237', 'n_tokens_mistral': 425, 'n_tokens_neox': 424, 'n_words': 73}