<commit_before><?php
namespace Payment;
class Payment {

    private $productionServer = "https://secure.payu.in/_payment";
    private $testingServer = "https://test.payu.in/_payment";
    private $isProduction = false;

    private $testData = array(
        "key" => "JBZaLc",
        "salt" => "<PASSWORD>"
    );

    private $key;
    private $salt;

    function __construct($key = "", $salt = "")
    {
        if($key==null||$salt==null||trim($key)==""||trim($salt) ==""){
            $this->key = $this->testData['key'];
            $this->salt = $this->testData['salt'];
            $this->isProduction = false;
        } else {
            $this->isProduction = true;
        }
    }

    public function getKey()
    {
        return $this->key;
    }

    public function setKey($key)
    {
        $this->key = $key;
    }

    public function getSalt()
    {
        return $this->salt;
    }

    public function setSalt($salt)
    {
        $this->salt = $salt;
    }


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

namespace Payment;

class Payment
{
    private $productionServer = 'https://secure.payu.in/_payment';
    private $testingServer = 'https://test.payu.in/_payment';
    private $isProduction = false;

    private $testData = [
        'key'  => 'JBZaLc',
        'salt' => '<PASSWORD>',
    ];

    private $key;
    private $salt;

    public function __construct($key = '', $salt = '')
    {
        if ($key == null || $salt == null || trim($key) == '' || trim($salt) == '') {
            $this->key = $this->testData['key'];
            $this->salt = $this->testData['salt'];
            $this->isProduction = false;
        } else {
            $this->isProduction = true;
        }
    }

    public function getKey()
    {
        return $this->key;
    }

    public function setKey($key)
    {
        $this->key = $key;
    }

    public function getSalt()
    {
        return $this->salt;
    }

    public function setSalt($salt)
    {
        $this->salt = $salt;
    }
}

{'fraction_non_alphanumeric': 0.17158308751229107, 'fraction_numerical': 0.0, 'mean_word_length': 2.0059084194977843, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 29, 'https://': 4, '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': '1823825', 'n_tokens_mistral': 682, 'n_tokens_neox': 628, 'n_words': 125}