mirror of
https://github.com/Karaka-Management/oms-Auditor.git
synced 2026-02-07 09:48:40 +00:00
reduce serialization of null models
This commit is contained in:
parent
ddb8e30b09
commit
16520b4848
|
|
@ -36,4 +36,12 @@ final class NullAudit extends Audit
|
|||
$this->id = $id;
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function jsonSerialize() : mixed
|
||||
{
|
||||
return ['id' => $this->id];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user