diff --git a/Models/NullDashboardBoard.php b/Models/NullDashboardBoard.php index 55a2626..9ea74b1 100755 --- a/Models/NullDashboardBoard.php +++ b/Models/NullDashboardBoard.php @@ -35,4 +35,12 @@ final class NullDashboardBoard extends DashboardBoard { $this->id = $id; } + + /** + * {@inheritdoc} + */ + public function jsonSerialize() : mixed + { + return ['id' => $this->id]; + } } diff --git a/Models/NullDashboardComponent.php b/Models/NullDashboardComponent.php index 7fbe49c..6e6f141 100755 --- a/Models/NullDashboardComponent.php +++ b/Models/NullDashboardComponent.php @@ -35,4 +35,12 @@ final class NullDashboardComponent extends DashboardComponent { $this->id = $id; } + + /** + * {@inheritdoc} + */ + public function jsonSerialize() : mixed + { + return ['id' => $this->id]; + } }