From 3a3dcd067bddfce768032a2c104a4ebeb0862201 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/Project.php | 6 +++--- Models/ProjectAttributeType.php | 4 ++-- Models/ProjectAttributeValue.php | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Models/Project.php b/Models/Project.php index 7d4a596..3c3dfa9 100755 --- a/Models/Project.php +++ b/Models/Project.php @@ -149,7 +149,7 @@ class Project * @var array * @since 1.0.0 */ - private array $media = []; + public array $media = []; /** * Created at. @@ -173,7 +173,7 @@ class Project * @var Task[] * @since 1.0.0 */ - private $tasks = []; + public $tasks = []; /** * Attributes. @@ -181,7 +181,7 @@ class Project * @var int[]|ProjectAttribute[] * @since 1.0.0 */ - private array $attributes = []; + public array $attributes = []; /** * Constructor. diff --git a/Models/ProjectAttributeType.php b/Models/ProjectAttributeType.php index d63d295..d98305e 100755 --- a/Models/ProjectAttributeType.php +++ b/Models/ProjectAttributeType.php @@ -68,14 +68,14 @@ class ProjectAttributeType 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/ProjectAttributeValue.php b/Models/ProjectAttributeValue.php index bb20a42..15188c1 100755 --- a/Models/ProjectAttributeValue.php +++ b/Models/ProjectAttributeValue.php @@ -106,7 +106,7 @@ class ProjectAttributeValue implements \JsonSerializable * * @var null|BaseStringL11n */ - private ?BaseStringL11n $l11n = null; + public ?BaseStringL11n $l11n = null; /** * Set value