Code Duplication    Length = 6-6 lines in 3 locations

payment_methods/Bank/EE_PMT_Bank.pm.php 1 location

@@ 37-42 (lines=6) @@
34
	 * @param EE_Payment_Method $pm_instance
35
	 * @return EE_PMT_Bank
36
	 */
37
	public function __construct($pm_instance = NULL) {
38
		$this->_pretty_name = __("Bank", 'event_espresso');
39
		parent::__construct($pm_instance);
40
		$this->_default_button_url = $this->file_url().'lib'.DS.'bank-logo.png';
41
		$this->_default_description = __( 'Make payment using an electronic funds transfer from your bank.', 'event_espresso' );
42
	}
43
44
45

payment_methods/Check/EE_PMT_Check.pm.php 1 location

@@ 35-40 (lines=6) @@
32
	 * @param null $pm_instance
33
	 * @return EE_PMT_Check
34
	 */
35
	public function __construct($pm_instance = NULL) {
36
		$this->_pretty_name = __("Check", 'event_espresso');
37
		$this->_default_description = __( 'After clicking "Finalize Registration", you will be given instructions on how to complete your payment.', 'event_espresso' );
38
		parent::__construct($pm_instance);
39
		$this->_default_button_url = $this->file_url().'lib'.DS.'check-logo.png';
40
	}
41
42
43

payment_methods/Invoice/EE_PMT_Invoice.pm.php 1 location

@@ 37-42 (lines=6) @@
34
	 * @param EE_Payment_Method $pm_instance
35
	 * @return EE_PMT_Invoice
36
	 */
37
	public function __construct($pm_instance = NULL) {
38
		$this->_pretty_name = __("Invoice", 'event_espresso');
39
		$this->_default_description = __( 'After clicking "Finalize Registration", you will be given instructions on how to access your invoice and complete your payment.', 'event_espresso' );
40
		parent::__construct($pm_instance);
41
		$this->_default_button_url = $this->file_url().'lib'.DS.'invoice-logo.png';
42
	}
43
44
45