Code Duplication    Length = 6-6 lines in 2 locations

admin/gateways/pec24/nusoap.php 2 locations

@@ 1515-1520 (lines=6) @@
1512
                    //                        minOccurs="0" maxOccurs="unbounded" />
1513
                    //                </sequence>
1514
                    //            </complexType>
1515
                    if (isset($attrs['base']) && preg_match('/:Array$/', $attrs['base'])) {
1516
                        $this->xdebug('complexType is unusual array');
1517
                        $this->complexTypes[$this->currentComplexType]['phpType'] = 'array';
1518
                    } else {
1519
                        $this->complexTypes[$this->currentComplexType]['phpType'] = 'struct';
1520
                    }
1521
                } else {
1522
                    $name = $this->CreateTypeName($this->currentElement);
1523
                    $this->xdebug('processing unnamed complexType for element ' . $this->currentElement . ' named ' . $name);
@@ 1535-1540 (lines=6) @@
1532
                    //                        minOccurs="0" maxOccurs="unbounded" />
1533
                    //                </sequence>
1534
                    //            </complexType>
1535
                    if (isset($attrs['base']) && preg_match('/:Array$/', $attrs['base'])) {
1536
                        $this->xdebug('complexType is unusual array');
1537
                        $this->complexTypes[$this->currentComplexType]['phpType'] = 'array';
1538
                    } else {
1539
                        $this->complexTypes[$this->currentComplexType]['phpType'] = 'struct';
1540
                    }
1541
                }
1542
                $this->complexTypes[$this->currentComplexType]['simpleContent'] = 'false';
1543
                break;