Code Duplication    Length = 15-15 lines in 2 locations

includes/compat/class-wc-stripe-email-failed-authentication-retry.php 2 locations

@@ 96-110 (lines=15) @@
93
	 *
94
	 * @return string
95
	 */
96
	public function get_content_html() {
97
		return wc_get_template_html(
98
			$this->template_html,
99
			array(
100
				'order'         => $this->object,
101
				'retry'         => $this->retry,
102
				'email_heading' => $this->get_heading(),
103
				'sent_to_admin' => true,
104
				'plain_text'    => false,
105
				'email'         => $this,
106
			),
107
			'',
108
			$this->template_base
109
		);
110
	}
111
112
	/**
113
	 * Get content plain.
@@ 117-131 (lines=15) @@
114
	 *
115
	 * @return string
116
	 */
117
	public function get_content_plain() {
118
		return wc_get_template_html(
119
			$this->template_plain,
120
			array(
121
				'order'         => $this->object,
122
				'retry'         => $this->retry,
123
				'email_heading' => $this->get_heading(),
124
				'sent_to_admin' => true,
125
				'plain_text'    => true,
126
				'email'         => $this,
127
			),
128
			'',
129
			$this->template_base
130
		);
131
	}
132
}
133