From 6fe02ec396dd65f03c115f347695ab6613c89185 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/Event.php | 8 ++++---- Models/EventAttributeType.php | 4 ++-- Models/EventAttributeValue.php | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Models/Event.php b/Models/Event.php index 5aa0fcf..880b0ce 100755 --- a/Models/Event.php +++ b/Models/Event.php @@ -127,7 +127,7 @@ class Event * @var Task[] * @since 1.0.0 */ - private array $tasks = []; + public array $tasks = []; /** * Media. @@ -135,7 +135,7 @@ class Event * @var \Modules\Media\Models\Media[] * @since 1.0.0 */ - private array $media = []; + public array $media = []; /** * Progress (0-100). @@ -175,7 +175,7 @@ class Event * @var AccountRelation[] * @since 1.0.0 */ - private array $accountRelations = []; + public array $accountRelations = []; /** * Attributes. @@ -183,7 +183,7 @@ class Event * @var int[]|EventAttribute[] * @since 1.0.0 */ - private array $attributes = []; + public array $attributes = []; /** * Constructor. diff --git a/Models/EventAttributeType.php b/Models/EventAttributeType.php index 8c26277..05dfa67 100755 --- a/Models/EventAttributeType.php +++ b/Models/EventAttributeType.php @@ -68,14 +68,14 @@ class EventAttributeType implements \JsonSerializable * * @var BaseStringL11n */ - private string | BaseStringL11n $l11n; + public string | BaseStringL11n $l11n; /** * Possible default attribute values * * @var array */ - private array $defaults = []; + public array $defaults = []; /** * Constructor. diff --git a/Models/EventAttributeValue.php b/Models/EventAttributeValue.php index dd3f2ab..5b4a33f 100755 --- a/Models/EventAttributeValue.php +++ b/Models/EventAttributeValue.php @@ -106,7 +106,7 @@ class EventAttributeValue implements \JsonSerializable * * @var null|BaseStringL11n */ - private ?BaseStringL11n $l11n = null; + public ?BaseStringL11n $l11n = null; /** * Set value