From cb311125c7f3e14679e5d4f9a7541800dd16526a 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/Task.php | 8 ++++---- Models/TaskAttributeType.php | 4 ++-- Models/TaskAttributeValue.php | 2 +- Models/TaskElement.php | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Models/Task.php b/Models/Task.php index b19d8f4..73c62ca 100755 --- a/Models/Task.php +++ b/Models/Task.php @@ -130,7 +130,7 @@ class Task implements \JsonSerializable * @var TaskAttribute[] * @since 1.0.0 */ - private array $attributes = []; + public array $attributes = []; /** * Task can be closed by user. @@ -182,7 +182,7 @@ class Task implements \JsonSerializable * @var TaskElement[] * @since 1.0.0 */ - protected array $taskElements = []; + public array $taskElements = []; /** * Tags. @@ -190,7 +190,7 @@ class Task implements \JsonSerializable * @var Tag[] * @since 1.0.0 */ - protected array $tags = []; + public array $tags = []; /** * Schedule @@ -214,7 +214,7 @@ class Task implements \JsonSerializable * @var array * @since 1.0.0 */ - protected array $media = []; + public array $media = []; /** * Constructor. diff --git a/Models/TaskAttributeType.php b/Models/TaskAttributeType.php index 870f4f5..25e3551 100755 --- a/Models/TaskAttributeType.php +++ b/Models/TaskAttributeType.php @@ -76,14 +76,14 @@ class TaskAttributeType implements \JsonSerializable * * @var BaseStringL11n */ - private string | BaseStringL11n $l11n = ''; + public string | BaseStringL11n $l11n = ''; /** * Possible default attribute values * * @var array */ - private array $defaults = []; + public array $defaults = []; /** * Default attribute value diff --git a/Models/TaskAttributeValue.php b/Models/TaskAttributeValue.php index db1cd97..6d639e1 100755 --- a/Models/TaskAttributeValue.php +++ b/Models/TaskAttributeValue.php @@ -106,7 +106,7 @@ class TaskAttributeValue implements \JsonSerializable * * @var null|BaseStringL11n */ - private ?BaseStringL11n $l11n = null; + public ?BaseStringL11n $l11n = null; /** * Set l11n diff --git a/Models/TaskElement.php b/Models/TaskElement.php index 5804d6b..4a41c6b 100755 --- a/Models/TaskElement.php +++ b/Models/TaskElement.php @@ -108,7 +108,7 @@ class TaskElement implements \JsonSerializable * @var Media[] * @since 1.0.0 */ - private array $media = []; + public array $media = []; /** * Accounts who received this task element. @@ -116,7 +116,7 @@ class TaskElement implements \JsonSerializable * @var AccountRelation[] * @since 1.0.0 */ - protected array $accRelation = []; + public array $accRelation = []; /** * Groups who received this task element. @@ -124,7 +124,7 @@ class TaskElement implements \JsonSerializable * @var GroupRelation[] * @since 1.0.0 */ - protected array $grpRelation = []; + public array $grpRelation = []; /** * Constructor.