Code Duplication    Length = 11-11 lines in 2 locations

Model/Methods/OnlineBankTransfer/Eps.php 1 location

@@ 89-99 (lines=11) @@
86
     * @param  Order $oOrder
87
     * @return array
88
     */
89
    public function getSubTypeSpecificParameters(Order $oOrder)
90
    {
91
        $oInfoInstance = $this->getInfoInstance();
92
93
        $aParams = [
94
            'bankcountry' => 'AT',
95
            'bankgrouptype' => $oInfoInstance->getAdditionalInformation('bank_group'),
96
        ];
97
98
        return $aParams;
99
    }
100
101
    /**
102
     * Add the checkout-form-data to the checkout session

Model/Methods/OnlineBankTransfer/Ideal.php 1 location

@@ 76-86 (lines=11) @@
73
     * @param  Order $oOrder
74
     * @return array
75
     */
76
    public function getSubTypeSpecificParameters(Order $oOrder)
77
    {
78
        $oInfoInstance = $this->getInfoInstance();
79
80
        $aParams = [
81
            'bankcountry' => 'NL',
82
            'bankgrouptype' => $oInfoInstance->getAdditionalInformation('bank_group'),
83
        ];
84
85
        return $aParams;
86
    }
87
88
    /**
89
     * Add the checkout-form-data to the checkout session