Ensure Echomail is initialised correctly

This commit is contained in:
Deon George
2022-11-04 23:14:47 +11:00
parent b45e2c6dd8
commit 9721db185b
3 changed files with 10 additions and 0 deletions

View File

@@ -140,6 +140,13 @@ final class Echomail extends Model implements Packet
/* METHODS */
public function init(): void
{
$this->set_path = collect();
$this->set_seenby = collect();
$this->set_packet = NULL;
}
public function jsonSerialize(): array
{
return $this->encode();