diff --git a/Models/KanbanBoard.php b/Models/KanbanBoard.php index 85e05fa..f963525 100644 --- a/Models/KanbanBoard.php +++ b/Models/KanbanBoard.php @@ -126,6 +126,9 @@ class KanbanBoard implements \JsonSerializable return false; } + /** + * {@inheritdoc} + */ public function jsonSerialize() : array { return []; diff --git a/Models/KanbanBoardMapper.php b/Models/KanbanBoardMapper.php index 337e204..e285ca2 100644 --- a/Models/KanbanBoardMapper.php +++ b/Models/KanbanBoardMapper.php @@ -49,6 +49,11 @@ final class KanbanBoardMapper extends DataMapperAbstract * * @var array> * @since 1.0.0 + */ /** + * Has many relation. + * + * @var array> + * @since 1.0.0 */ protected static $hasMany = [ 'columns' => [ @@ -59,6 +64,12 @@ final class KanbanBoardMapper extends DataMapperAbstract ], ]; + /** + * Belongs to. + * + * @var array> + * @since 1.0.0 + */ protected static $belongsTo = [ 'createdBy' => [ 'mapper' => AccountMapper::class, diff --git a/Models/KanbanCard.php b/Models/KanbanCard.php index 3b58830..25651c8 100644 --- a/Models/KanbanCard.php +++ b/Models/KanbanCard.php @@ -192,6 +192,9 @@ class KanbanCard implements \JsonSerializable $this->labels[] = $label; } + /** + * {@inheritdoc} + */ public function jsonSerialize() : array { return [ diff --git a/Models/KanbanCardComment.php b/Models/KanbanCardComment.php index 9d7e409..a474d85 100644 --- a/Models/KanbanCardComment.php +++ b/Models/KanbanCardComment.php @@ -92,6 +92,9 @@ class KanbanCardComment implements \JsonSerializable $this->media[] = $media; } + /** + * {@inheritdoc} + */ public function jsonSerialize() : array { return []; diff --git a/Models/KanbanCardCommentMapper.php b/Models/KanbanCardCommentMapper.php index f2d3463..0a32573 100644 --- a/Models/KanbanCardCommentMapper.php +++ b/Models/KanbanCardCommentMapper.php @@ -47,6 +47,11 @@ final class KanbanCardCommentMapper extends DataMapperAbstract * * @var array> * @since 1.0.0 + */ /** + * Has many relation. + * + * @var array> + * @since 1.0.0 */ protected static $hasMany = [ 'media' => [ diff --git a/Models/KanbanCardMapper.php b/Models/KanbanCardMapper.php index df83394..36cee3f 100644 --- a/Models/KanbanCardMapper.php +++ b/Models/KanbanCardMapper.php @@ -48,6 +48,12 @@ final class KanbanCardMapper extends DataMapperAbstract 'kanban_card_created_by' => ['name' => 'kanban_card_created_by', 'type' => 'int', 'internal' => 'createdBy'], ]; + /** + * Belongs to. + * + * @var array> + * @since 1.0.0 + */ protected static $belongsTo = [ 'createdBy' => [ 'mapper' => AccountMapper::class, @@ -60,6 +66,11 @@ final class KanbanCardMapper extends DataMapperAbstract * * @var array> * @since 1.0.0 + */ /** + * Has many relation. + * + * @var array> + * @since 1.0.0 */ protected static $hasMany = [ 'media' => [ diff --git a/Models/KanbanColumn.php b/Models/KanbanColumn.php index 01d1b6d..2467563 100644 --- a/Models/KanbanColumn.php +++ b/Models/KanbanColumn.php @@ -94,6 +94,9 @@ class KanbanColumn implements \JsonSerializable return false; } + /** + * {@inheritdoc} + */ public function jsonSerialize() : array { return []; diff --git a/Models/KanbanColumnMapper.php b/Models/KanbanColumnMapper.php index b0a2c52..36fb560 100644 --- a/Models/KanbanColumnMapper.php +++ b/Models/KanbanColumnMapper.php @@ -45,6 +45,11 @@ final class KanbanColumnMapper extends DataMapperAbstract * * @var array> * @since 1.0.0 + */ /** + * Has many relation. + * + * @var array> + * @since 1.0.0 */ protected static $hasMany = [ 'cards' => [