Code Duplication    Length = 10-10 lines in 2 locations

admin/gateways/pec24/nusoap.php 2 locations

@@ 6937-6946 (lines=10) @@
6934
        );
6935
        // add portTypes
6936
        // add messages
6937
        if ($in) {
6938
            foreach ($in as $pName => $pType) {
6939
                if (strpos($pType, ':')) {
6940
                    $pType = $this->getNamespaceFromPrefix($this->getPrefix($pType)) . ':' . $this->getLocalPart($pType);
6941
                }
6942
                $this->messages[$name . 'Request'][$pName] = $pType;
6943
            }
6944
        } else {
6945
            $this->messages[$name . 'Request'] = '0';
6946
        }
6947
        if ($out) {
6948
            foreach ($out as $pName => $pType) {
6949
                if (strpos($pType, ':')) {
@@ 6947-6956 (lines=10) @@
6944
        } else {
6945
            $this->messages[$name . 'Request'] = '0';
6946
        }
6947
        if ($out) {
6948
            foreach ($out as $pName => $pType) {
6949
                if (strpos($pType, ':')) {
6950
                    $pType = $this->getNamespaceFromPrefix($this->getPrefix($pType)) . ':' . $this->getLocalPart($pType);
6951
                }
6952
                $this->messages[$name . 'Response'][$pName] = $pType;
6953
            }
6954
        } else {
6955
            $this->messages[$name . 'Response'] = '0';
6956
        }
6957
6958
        return true;
6959
    }