mirror of
https://github.com/Karaka-Management/oms-Comments.git
synced 2026-02-17 09:48:42 +00:00
Went through todos
This commit is contained in:
parent
de4df47427
commit
9875ec1777
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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',
|
|
||||||
],
|
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user