Code Duplication    Length = 8-8 lines in 2 locations

admin/gateways/pec24/nusoap.php 2 locations

@@ 5212-5219 (lines=8) @@
5209
    * @param	array $certRequest (keys must be cainfofile (optional), sslcertfile, sslkeyfile, passphrase, certpassword (optional), verifypeer (optional), verifyhost (optional): see corresponding options in cURL docs)
5210
    * @access   public
5211
    */
5212
    function setCredentials($username, $password, $authtype = 'basic', $certRequest = array()) {
5213
        $this->debug("setCredentials username=$username authtype=$authtype certRequest=");
5214
        $this->appendDebug($this->varDump($certRequest));
5215
        $this->username = $username;
5216
        $this->password = $password;
5217
        $this->authtype = $authtype;
5218
        $this->certRequest = $certRequest;
5219
    }
5220
5221
    function getBindingData($binding)
5222
    {
@@ 7893-7900 (lines=8) @@
7890
    * @param	array $certRequest (keys must be cainfofile (optional), sslcertfile, sslkeyfile, passphrase, verifypeer (optional), verifyhost (optional): see corresponding options in cURL docs)
7891
    * @access   public
7892
    */
7893
    function setCredentials($username, $password, $authtype = 'basic', $certRequest = array()) {
7894
        $this->debug("setCredentials username=$username authtype=$authtype certRequest=");
7895
        $this->appendDebug($this->varDump($certRequest));
7896
        $this->username = $username;
7897
        $this->password = $password;
7898
        $this->authtype = $authtype;
7899
        $this->certRequest = $certRequest;
7900
    }
7901
7902
    /**
7903
    * use HTTP encoding