Automated formatting changes

This commit is contained in:
Formatter Bot 2020-10-21 21:03:55 +00:00
parent 70b980e4f2
commit 2ad5a46d21
2 changed files with 5 additions and 5 deletions

View File

@ -45,9 +45,9 @@ final class CommentListMapper extends DataMapperAbstract
*/
protected static array $hasMany = [
'comments' => [
'mapper' => CommentMapper::class,
'table' => 'comments_comment',
'self' => 'comments_comment_list',
'mapper' => CommentMapper::class,
'table' => 'comments_comment',
'self' => 'comments_comment_list',
'external' => null,
],
];

View File

@ -53,11 +53,11 @@ final class CommentMapper extends DataMapperAbstract
*/
protected static array $belongsTo = [
'createdBy' => [
'mapper' => AccountMapper::class,
'mapper' => AccountMapper::class,
'external' => 'comments_comment_created_by',
],
'list' => [
'mapper' => CommentListMapper::class,
'mapper' => CommentListMapper::class,
'external' => 'comments_comment_list',
],
];