Code Duplication    Length = 8-8 lines in 2 locations

src/Services/Message/Mail.php 2 locations

@@ 197-204 (lines=8) @@
194
	 *
195
	 * @return bool|string
196
	 */
197
	public function getPlainTextBody( $raw = false )
198
	{
199
		$part = $this->getBodyPart();
200
		$body = $part->getBody();
201
		$content = $body->getData();
202
203
		return $raw ? $content : $this->getDecodedBody( $content );
204
	}
205
206
	/**
207
	 * @return string base64 version of the body
@@ 219-226 (lines=8) @@
216
	 *
217
	 * @return string
218
	 */
219
	public function getHtmlBody( $raw = false )
220
	{
221
		$part = $this->getBodyPart( 'text/html' );
222
		$body = $part->getBody();
223
		$content = $body->getData();
224
225
		return $raw ? $content : $this->getDecodedBody( $content );
226
	}
227
228
	/**
229
	 * @return string base64 version of the body