Code Duplication    Length = 6-6 lines in 2 locations

admin/gateways/pec24/nusoap.php 2 locations

@@ 1416-1421 (lines=6) @@
1413
                    //                        minOccurs="0" maxOccurs="unbounded" />
1414
                    //                </sequence>
1415
                    //            </complexType>
1416
                    if (isset($attrs['base']) && preg_match('/:Array$/',$attrs['base'])) {
1417
                        $this->xdebug('complexType is unusual array');
1418
                        $this->complexTypes[$this->currentComplexType]['phpType'] = 'array';
1419
                    } else {
1420
                        $this->complexTypes[$this->currentComplexType]['phpType'] = 'struct';
1421
                    }
1422
                } else {
1423
                    $name = $this->CreateTypeName($this->currentElement);
1424
                    $this->xdebug('processing unnamed complexType for element ' . $this->currentElement . ' named ' . $name);
@@ 1436-1441 (lines=6) @@
1433
                    //                        minOccurs="0" maxOccurs="unbounded" />
1434
                    //                </sequence>
1435
                    //            </complexType>
1436
                    if (isset($attrs['base']) && preg_match('/:Array$/',$attrs['base'])) {
1437
                        $this->xdebug('complexType is unusual array');
1438
                        $this->complexTypes[$this->currentComplexType]['phpType'] = 'array';
1439
                    } else {
1440
                        $this->complexTypes[$this->currentComplexType]['phpType'] = 'struct';
1441
                    }
1442
                }
1443
                $this->complexTypes[$this->currentComplexType]['simpleContent'] = 'false';
1444
            break;