Code Duplication    Length = 6-6 lines in 2 locations

admin/gateways/pec24/nusoap.php 2 locations

@@ 7817-7822 (lines=6) @@
7814
        if ($headers) {
7815
            $this->requestHeaders = $headers;
7816
        }
7817
        if ($this->endpointType === 'wsdl' && null === $this->wsdl) {
7818
            $this->loadWSDL();
7819
            if ($this->getError()) {
7820
                return false;
7821
            }
7822
        }
7823
        // serialize parameters
7824
        if ($this->endpointType === 'wsdl' && $opData = $this->getOperationData($operation)) {
7825
            // use WSDL for operation
@@ 8037-8042 (lines=6) @@
8034
     */
8035
    public function getOperationData($operation)
8036
    {
8037
        if ($this->endpointType === 'wsdl' && null === $this->wsdl) {
8038
            $this->loadWSDL();
8039
            if ($this->getError()) {
8040
                return false;
8041
            }
8042
        }
8043
        if (isset($this->operations[$operation])) {
8044
            return $this->operations[$operation];
8045
        }