Code Duplication    Length = 5-5 lines in 2 locations

Block/Info/Creditcard.php 1 location

@@ 69-73 (lines=5) @@
66
        $data[(string)__('Expiration Date:')] = $oStatus->getCardexpiredate();
67
68
        $sTransId = $this->getInfo()->getLastTransId();
69
        if ($sTransId == '') {
70
            $data[(string)__('Payment has not been processed yet.')] = '';
71
        } else {
72
            $data[(string)__('Payment reference:')] = $sTransId;
73
        }
74
        return $transport->setData(array_merge($data, $transport->getData()));
75
    }
76
}

Block/Info/Debit.php 1 location

@@ 63-67 (lines=5) @@
60
        }
61
62
        $sTransId = $this->getInfo()->getLastTransId();
63
        if ($sTransId == '') {
64
            $data[(string)__('Payment has not been processed yet.')] = '';
65
        } else {
66
            $data[(string)__('Payment reference:')] = $sTransId;
67
        }
68
        return $transport->setData(array_merge($data, $transport->getData()));
69
    }
70
}