From 61fbc7247336c38c393c756a6de4773e2aabaf56 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Wed, 4 Oct 2023 15:52:16 +0000 Subject: [PATCH] Force public member variables or mapper changes --- Models/NullInvestment.php | 46 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 Models/NullInvestment.php diff --git a/Models/NullInvestment.php b/Models/NullInvestment.php new file mode 100644 index 0000000..2560e56 --- /dev/null +++ b/Models/NullInvestment.php @@ -0,0 +1,46 @@ +id = $id; + } + + /** + * {@inheritdoc} + */ + public function jsonSerialize() : mixed + { + return ['id' => $this->id]; + } +}