X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FObject%2FEmail.php;h=f6a72985231af6b58c42518f5664a5069fc1edc4;hb=8101739eddd192314a33abda8a729515ece33b42;hp=57eb0c17e9b155099521b81d23007de4016f720c;hpb=4dc96daeb3c028d35b06ab73db7a3709659a6378;p=friendica.git diff --git a/src/Object/Email.php b/src/Object/Email.php index 57eb0c17e9..f6a7298523 100644 --- a/src/Object/Email.php +++ b/src/Object/Email.php @@ -1,6 +1,6 @@ msgText; } else { - return $this->msgHtml; + return $this->msgHtml ?? ''; } } @@ -200,6 +200,7 @@ class Email implements IEmail /** * @inheritDoc */ + #[\ReturnTypeWillChange] public function jsonSerialize() { return $this->toArray();