<commit_before><?php

namespace Omnipay\Curopayments\Message;

use Omnipay\Common\Message\AbstractRequest as OmnipayRequest;

/**
 * Curopayments Abstract Request
 */
abstract class AbstractRequest extends OmnipayRequest
{
    /**
     * @var string
     */
    public $endpoint = 'https://gateway.cardgateplus.com/';

    private $returnUrlFailed = '';

    public function setReturnUrlFailed($value) {
        $this->returnUrlFailed = $value;
    }

    public function getReturnUrlFailed() {
        return $this->returnUrlFailed ?: $this->getReturnUrl();
    }

    public function getSiteId()
    {
        return $this->getParameter('siteId');
    }

    public function setSiteId($value)
    {
        return $this->setParameter('siteId', $value);
    }

    public function getSecretKey()
    {
        return $this->getParameter('secretKey');
    }

    public function setSecretKey($value)
    {
        return $this->setParameter('secretKey', $value);
    }

    public function getRef()
    {
        return $this->getParameter('ref');
    }
<commit_msg>fixed tests<commit_after><?php

namespace Omnipay\Curopayments\Message;

use Omnipay\Common\Message\AbstractRequest as OmnipayRequest;

/**
 * Curopayments Abstract Request
 */
abstract class AbstractRequest extends OmnipayRequest
{
    /**
     * @var string
     */
    public $endpoint = 'https://gateway.cardgateplus.com/';

    private $returnUrlFailed = '';

    public function setReturnUrlFailed($value)
    {
        $this->returnUrlFailed = $value;
    }

    public function getReturnUrlFailed()
    {
        return $this->returnUrlFailed ?: $this->getReturnUrl();
    }

    public function getSiteId()
    {
        return $this->getParameter('siteId');
    }

    public function setSiteId($value)
    {
        return $this->setParameter('siteId', $value);
    }

    public function getSecretKey()
    {
        return $this->getParameter('secretKey');
    }

    public function setSecretKey($value)
    {
        return $this->setParameter('secretKey', $value);
    }

    public function getRef()
    {
        return $this->getParameter('ref');
    }

{'fraction_non_alphanumeric': 0.1253507951356408, 'fraction_numerical': 0.0, 'mean_word_length': 2.819642857142857, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 19, 'https://': 2, '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': '3374590', 'n_tokens_mistral': 638, 'n_tokens_neox': 623, 'n_words': 121}