Code Duplication    Length = 6-6 lines in 2 locations

admin/gateways/pec24/nusoap.php 2 locations

@@ 1524-1529 (lines=6) @@
1521
                    //                        minOccurs="0" maxOccurs="unbounded">
1522
                    //                </sequence>
1523
                    //            </complexType>
1524
                    if (isset($attrs['base']) && preg_match('/:Array$/', $attrs['base'])) {
1525
                        $this->xdebug('complexType is unusual array');
1526
                        $this->complexTypes[$this->currentComplexType]['phpType'] = 'array';
1527
                    } else {
1528
                        $this->complexTypes[$this->currentComplexType]['phpType'] = 'struct';
1529
                    }
1530
                } else {
1531
                    $name = $this->CreateTypeName($this->currentElement);
1532
                    $this->xdebug('processing unnamed complexType for element ' . $this->currentElement . ' named ' . $name);
@@ 1544-1549 (lines=6) @@
1541
                    //                        minOccurs="0" maxOccurs="unbounded">
1542
                    //                </sequence>
1543
                    //            </complexType>
1544
                    if (isset($attrs['base']) && preg_match('/:Array$/', $attrs['base'])) {
1545
                        $this->xdebug('complexType is unusual array');
1546
                        $this->complexTypes[$this->currentComplexType]['phpType'] = 'array';
1547
                    } else {
1548
                        $this->complexTypes[$this->currentComplexType]['phpType'] = 'struct';
1549
                    }
1550
                }
1551
                $this->complexTypes[$this->currentComplexType]['simpleContent'] = 'false';
1552
                break;