From eeebc22b6de238cb82cfe33b3d5dc4eed3514686 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/QAAnswer.php | 4 ++-- Models/QAQuestion.php | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Models/QAAnswer.php b/Models/QAAnswer.php index 34e77c2..730b019 100755 --- a/Models/QAAnswer.php +++ b/Models/QAAnswer.php @@ -98,7 +98,7 @@ class QAAnswer implements \JsonSerializable * @var array * @since 1.0.0 */ - private array $votes = []; + public array $votes = []; /** * Media files @@ -106,7 +106,7 @@ class QAAnswer implements \JsonSerializable * @var array * @since 1.0.0 */ - protected array $media = []; + public array $media = []; /** * Constructor. diff --git a/Models/QAQuestion.php b/Models/QAQuestion.php index cb50989..de7bfc0 100755 --- a/Models/QAQuestion.php +++ b/Models/QAQuestion.php @@ -101,7 +101,7 @@ class QAQuestion implements \JsonSerializable * @var array * @since 1.0.0 */ - private array $tags = []; + public array $tags = []; /** * Answers. @@ -109,7 +109,7 @@ class QAQuestion implements \JsonSerializable * @var array * @since 1.0.0 */ - private array $answers = []; + public array $answers = []; /** * Votes. @@ -117,7 +117,7 @@ class QAQuestion implements \JsonSerializable * @var array * @since 1.0.0 */ - private array $votes = []; + public array $votes = []; /** * App @@ -131,7 +131,7 @@ class QAQuestion implements \JsonSerializable * @var array * @since 1.0.0 */ - protected array $media = []; + public array $media = []; /** * Constructor.