Went through todos

This commit is contained in:
Dennis Eichhorn 2024-05-02 22:54:37 +00:00
parent de4df47427
commit 9875ec1777
2 changed files with 3 additions and 7 deletions

View File

@ -54,10 +54,10 @@ class Comment implements \JsonSerializable
/** /**
* Comment list this comment belongs to * Comment list this comment belongs to
* *
* @var int|CommentList * @var int
* @since 1.0.0 * @since 1.0.0
*/ */
public $list = 0; public int $list = 0;
/** /**
* Title * Title

View File

@ -59,11 +59,7 @@ final class CommentMapper extends DataMapperFactory
'createdBy' => [ 'createdBy' => [
'mapper' => AccountMapper::class, 'mapper' => AccountMapper::class,
'external' => 'comments_comment_created_by', 'external' => 'comments_comment_created_by',
], ]
'list' => [
'mapper' => CommentListMapper::class,
'external' => 'comments_comment_list',
],
]; ];
/** /**