<commit_before><?php

declare(strict_types=1);

namespace Cortex\Foundation\Exceptions;

use Exception;

class GenericException extends Exception
{
    /**
     * The exception redirection.
     *
     * @var string
     */
    protected $redirection;

    /**
     * Create a new authorization exception.
     *
     * @param string $message
     * @param array  $redirection
     */
    public function __construct($message = 'This action is unauthorized.', $redirection = null)
    {
        parent::__construct($message);

        $this->redirection = $redirection;
    }

    /**
     * Gets the Exception redirection.
     *
     * @return string
     */
    final public function getRedirection()
    {
        return $this->redirection;
    }

}
<commit_msg>Apply fixes from StyleCI<commit_after><?php

declare(strict_types=1);

namespace Cortex\Foundation\Exceptions;

use Exception;

class GenericException extends Exception
{
    /**
     * The exception redirection.
     *
     * @var string
     */
    protected $redirection;

    /**
     * Create a new authorization exception.
     *
     * @param string $message
     * @param array  $redirection
     */
    public function __construct($message = 'This action is unauthorized.', $redirection = null)
    {
        parent::__construct($message);

        $this->redirection = $redirection;
    }

    /**
     * Gets the Exception redirection.
     *
     * @return string
     */
    final public function getRedirection()
    {
        return $this->redirection;
    }
}

{'fraction_non_alphanumeric': 0.10765239948119326, 'fraction_numerical': 0.0012970168612191958, 'mean_word_length': 2.3470715835141, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '2214437', 'n_tokens_mistral': 437, 'n_tokens_neox': 425, 'n_words': 107}