Code Duplication    Length = 6-6 lines in 2 locations

admin/gateways/pec24/nusoap.php 2 locations

@@ 6053-6058 (lines=6) @@
6050
        $this->debug("in serializeRPCParameters: operation=$operation, direction=$direction, XMLSchemaVersion=$this->XMLSchemaVersion, bindingType=$bindingType");
6051
        $this->appendDebug('parameters=' . $this->varDump($parameters));
6052
6053
        if ($direction !== 'input' && $direction !== 'output') {
6054
            $this->debug('The value of the \$direction argument needs to be either "input" or "output"');
6055
            $this->setError('The value of the \$direction argument needs to be either "input" or "output"');
6056
6057
            return false;
6058
        }
6059
        if (!$opData = $this->getOperationData($operation, $bindingType)) {
6060
            $this->debug('Unable to retrieve WSDL data for operation: ' . $operation . ' bindingType: ' . $bindingType);
6061
            $this->setError('Unable to retrieve WSDL data for operation: ' . $operation . ' bindingType: ' . $bindingType);
@@ 6164-6169 (lines=6) @@
6161
        $this->debug("in serializeParameters: operation=$operation, direction=$direction, XMLSchemaVersion=$this->XMLSchemaVersion");
6162
        $this->appendDebug('parameters=' . $this->varDump($parameters));
6163
6164
        if ($direction !== 'input' && $direction !== 'output') {
6165
            $this->debug('The value of the \$direction argument needs to be either "input" or "output"');
6166
            $this->setError('The value of the \$direction argument needs to be either "input" or "output"');
6167
6168
            return false;
6169
        }
6170
        if (!$opData = $this->getOperationData($operation)) {
6171
            $this->debug('Unable to retrieve WSDL data for operation: ' . $operation);
6172
            $this->setError('Unable to retrieve WSDL data for operation: ' . $operation);