Skip to content
Snippets Groups Projects

Devel

Merged Piotr Potrebka requested to merge devel into main
Compare and Show latest version
7 files
+ 368
40
Compare changes
  • Side-by-side
  • Inline

Files

+ 2
13
@@ -49,7 +49,7 @@ abstract class EmailAbstract implements EmailInterface {
/**
* @var array
*/
protected $headers;
protected $headers = [];
/**
* Define unique email ID.
@@ -271,18 +271,7 @@ abstract class EmailAbstract implements EmailInterface {
* @throws Exception
*/
public function get_content(): string {
if ( ! $this->content ) {
throw new Exception( 'Empty email content' );
}
return '';
}
/**
* @return mixed
*/
public function get_object() {
return '';
return $this->content;
}
Loading