<commit_before><?php

namespace G4\Gateway;

class Gateway extends GatewayAbstract
{

    private $serviceName;

    private $httpMethod;

    private $httpQueryParams;

    public function getServiceName()
    {
        return $this->serviceName;
    }

    public function getHttpMethod()
    {
        return $this->httpMethod;
    }

    public function getHttpQueryParams()
    {
        return $this->httpQueryParams;
    }

    public function setServiceName($serviceName)
    {
        $this->serviceName = $serviceName;
        return $this;
    }

    public function setHttpMethod($httpMethod)
    {
        $this->httpMethod = $httpMethod;
        return $this;
    }

    public function setHttpQueryParams($httpQueryParams)
    {
        $this->httpQueryParams = $httpQueryParams;
        return $this;
    }
}<commit_msg>If there is no prams return empty array<commit_after><?php

namespace G4\Gateway;

class Gateway extends GatewayAbstract
{

    private $serviceName;

    private $httpMethod;

    private $httpQueryParams;

    public function getServiceName()
    {
        return $this->serviceName;
    }

    public function getHttpMethod()
    {
        return $this->httpMethod;
    }

    public function getHttpQueryParams()
    {
        return $this->httpQueryParams === null
            ? []
            : $this->httpQueryParams;
    }

    public function setServiceName($serviceName)
    {
        $this->serviceName = $serviceName;
        return $this;
    }

    public function setHttpMethod($httpMethod)
    {
        $this->httpMethod = $httpMethod;
        return $this;
    }

    public function setHttpQueryParams($httpQueryParams)
    {
        $this->httpQueryParams = $httpQueryParams;
        return $this;
    }
}
{'fraction_non_alphanumeric': 0.09426462237365134, 'fraction_numerical': 0.001135718341851221, 'mean_word_length': 2.4081237911025144, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 16, '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': '2526065', 'n_tokens_mistral': 506, 'n_tokens_neox': 486, 'n_words': 107}