Code Duplication    Length = 6-6 lines in 2 locations

admin/gateways/pec24/nusoap.php 2 locations

@@ 5834-5839 (lines=6) @@
5831
                foreach ($parts as $name => $type) {
5832
                    $this->debug("serializing part $name of type $type");
5833
                    // Track encoding style
5834
                    if (isset($opData[$direction]['encodingStyle']) && $encodingStyle != $opData[$direction]['encodingStyle']) {
5835
                        $encodingStyle = $opData[$direction]['encodingStyle'];
5836
                        $enc_style = $encodingStyle;
5837
                    } else {
5838
                        $enc_style = false;
5839
                    }
5840
                    // NOTE: add error handling here
5841
                    // if serializeType returns false, then catch global error and fault
5842
                    if ($parametersArrayType == 'arraySimple') {
@@ 5918-5923 (lines=6) @@
5915
                foreach ($opData[$direction]['parts'] as $name => $type) {
5916
                    $this->debug('serializing part "'.$name.'" of type "'.$type.'"');
5917
                    // Track encoding style
5918
                    if (isset($opData[$direction]['encodingStyle']) && $encodingStyle != $opData[$direction]['encodingStyle']) {
5919
                        $encodingStyle = $opData[$direction]['encodingStyle'];
5920
                        $enc_style = $encodingStyle;
5921
                    } else {
5922
                        $enc_style = false;
5923
                    }
5924
                    // NOTE: add error handling here
5925
                    // if serializeType returns false, then catch global error and fault
5926
                    if ($parametersArrayType == 'arraySimple') {