GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Code Duplication    Length = 11-11 lines in 2 locations

Paybox/System/Cancellation/Request.php 1 location

@@ 71-81 (lines=11) @@
68
     *
69
     * @return array
70
     */
71
    public function getParameters()
72
    {
73
        if (null === $this->getParameter('HMAC')) {
74
            $this->setParameter('TIME', date('c'));
75
            $this->setParameter('HMAC', strtoupper($this->computeHmac()));
76
        }
77
78
        $resolver = new ParameterResolver();
79
80
        return $resolver->resolve($this->parameters);
81
    }
82
83
    /**
84
     * {@inheritdoc}

Paybox/System/Base/Request.php 1 location

@@ 127-137 (lines=11) @@
124
     *
125
     * @return array
126
     */
127
    public function getParameters()
128
    {
129
        if (null === $this->getParameter('PBX_HMAC')) {
130
            $this->setParameter('PBX_TIME', date('c'));
131
            $this->setParameter('PBX_HMAC', strtoupper($this->computeHmac()));
132
        }
133
134
        $resolver = new ParameterResolver($this->globals['currencies']);
135
136
        return $resolver->resolve($this->parameters);
137
    }
138
139
    /**
140
     * Returns a form with defined parameters.