Code Duplication    Length = 6-6 lines in 2 locations

admin/gateways/pec24/nusoap.php 2 locations

@@ 7801-7806 (lines=6) @@
7798
        if ($headers) {
7799
            $this->requestHeaders = $headers;
7800
        }
7801
        if ($this->endpointType === 'wsdl' && null === $this->wsdl) {
7802
            $this->loadWSDL();
7803
            if ($this->getError()) {
7804
                return false;
7805
            }
7806
        }
7807
        // serialize parameters
7808
        if ($this->endpointType === 'wsdl' && $opData = $this->getOperationData($operation)) {
7809
            // use WSDL for operation
@@ 8021-8026 (lines=6) @@
8018
     */
8019
    public function getOperationData($operation)
8020
    {
8021
        if ($this->endpointType === 'wsdl' && null === $this->wsdl) {
8022
            $this->loadWSDL();
8023
            if ($this->getError()) {
8024
                return false;
8025
            }
8026
        }
8027
        if (isset($this->operations[$operation])) {
8028
            return $this->operations[$operation];
8029
        }