Ensure Echomail is initialised correctly
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user