<commit_before><?php
namespace Paranoia\Payment;

use Symfony\Component\EventDispatcher\Event;

class PaymentEventArg extends Event
{
    /**
     * @var \Paranoia\Payment\Request
     */
    private $request;

    /**
     * @var \Paranoia\Payment\Response\ResponseInterface
     */
    private $response;

    /**
     * @var \Exception
     */
    private $exception;

    /**
     * @var string
     */
    private $transactionType;

    public function __construct($request = null, $response = null, $transactionType = null, $exception = null)
    {
        $this->request = $request;
        $this->response = $response;
        $transactionType = $transactionType;
        $this->exception = $exception;
    }

    /**
     * @param \Exception $exception
     */
    public function setException($exception)
    {
        $this->exception = $exception;
    }
<commit_msg>#87 initial value assignment problem is fixed.<commit_after><?php
namespace Paranoia\Payment;

use Symfony\Component\EventDispatcher\Event;

class PaymentEventArg extends Event
{
    /**
     * @var \Paranoia\Payment\Request
     */
    private $request;

    /**
     * @var \Paranoia\Payment\Response\ResponseInterface
     */
    private $response;

    /**
     * @var \Exception
     */
    private $exception;

    /**
     * @var string
     */
    private $transactionType;

    public function __construct($request = null, $response = null, $transactionType = null, $exception = null)
    {
        $this->request = $request;
        $this->response = $response;
        $this->transactionType = $transactionType;
        $this->exception = $exception;
    }

    /**
     * @param \Exception $exception
     */
    public function setException($exception)
    {
        $this->exception = $exception;
    }

{'fraction_non_alphanumeric': 0.12813370473537605, 'fraction_numerical': 0.0011142061281337048, 'mean_word_length': 2.344506517690875, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 12, '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': '3856901', 'n_tokens_mistral': 513, 'n_tokens_neox': 501, 'n_words': 108}