Skip to content

Commit

Permalink
Force public member variables or mapper changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Eichhorn committed Oct 4, 2023
1 parent 4a01547 commit cb31112
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions Models/Task.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -182,15 +182,15 @@ class Task implements \JsonSerializable
* @var TaskElement[]
* @since 1.0.0
*/
protected array $taskElements = [];
public array $taskElements = [];

/**
* Tags.
*
* @var Tag[]
* @since 1.0.0
*/
protected array $tags = [];
public array $tags = [];

/**
* Schedule
Expand All @@ -214,7 +214,7 @@ class Task implements \JsonSerializable
* @var array
* @since 1.0.0
*/
protected array $media = [];
public array $media = [];

/**
* Constructor.
Expand Down
4 changes: 2 additions & 2 deletions Models/TaskAttributeType.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Models/TaskAttributeValue.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class TaskAttributeValue implements \JsonSerializable
*
* @var null|BaseStringL11n
*/
private ?BaseStringL11n $l11n = null;
public ?BaseStringL11n $l11n = null;

/**
* Set l11n
Expand Down
6 changes: 3 additions & 3 deletions Models/TaskElement.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,23 +108,23 @@ class TaskElement implements \JsonSerializable
* @var Media[]
* @since 1.0.0
*/
private array $media = [];
public array $media = [];

/**
* Accounts who received this task element.
*
* @var AccountRelation[]
* @since 1.0.0
*/
protected array $accRelation = [];
public array $accRelation = [];

/**
* Groups who received this task element.
*
* @var GroupRelation[]
* @since 1.0.0
*/
protected array $grpRelation = [];
public array $grpRelation = [];

/**
* Constructor.
Expand Down

0 comments on commit cb31112

Please sign in to comment.