<commit_before><?php

namespace Omnipay\GoCardless\Message;

use Omnipay\Common\Message\AbstractResponse;
use Omnipay\Common\Message\RequestInterface;

class CaptureResponse extends AbstractResponse
{
    protected $transactionReference;

    public function __construct(RequestInterface $request, $data)
    {
        parent::__construct($request, $data);
    }

    public function isSuccessful()
    {
        return !isset($this->data['error']);
    }

    public function getMessage()<commit_msg>removed construct, and unwanted variable.<commit_after><?php

namespace Omnipay\GoCardless\Message;

use Omnipay\Common\Message\AbstractResponse;
use Omnipay\Common\Message\RequestInterface;

class CaptureResponse extends AbstractResponse
{

    public function isSuccessful()
    {
        return !isset($this->data['error']);
    }

    public function getMessage()
{'fraction_non_alphanumeric': 0.10023041474654378, 'fraction_numerical': 0.0, 'mean_word_length': 4.43125, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '3690346', 'n_tokens_mistral': 244, 'n_tokens_neox': 240, 'n_words': 50}