diff --git a/Models/CommentListMapper.php b/Models/CommentListMapper.php index b1cd7b3..e817ebc 100644 --- a/Models/CommentListMapper.php +++ b/Models/CommentListMapper.php @@ -29,7 +29,7 @@ final class CommentListMapper extends DataMapperAbstract /** * Columns. * - * @var array + * @var array * @since 1.0.0 */ protected static array $columns = [ diff --git a/Models/CommentMapper.php b/Models/CommentMapper.php index c0167fe..03634bf 100644 --- a/Models/CommentMapper.php +++ b/Models/CommentMapper.php @@ -29,7 +29,7 @@ final class CommentMapper extends DataMapperAbstract /** * Columns. * - * @var array + * @var array * @since 1.0.0 */ protected static array $columns = [ @@ -41,7 +41,7 @@ final class CommentMapper extends DataMapperAbstract 'comments_comment_list' => ['name' => 'comments_comment_list', 'type' => 'int', 'internal' => 'list'], 'comments_comment_ref' => ['name' => 'comments_comment_ref', 'type' => 'int', 'internal' => 'ref'], 'comments_comment_created_by' => ['name' => 'comments_comment_created_by', 'type' => 'int', 'internal' => 'createdBy'], - 'comments_comment_created_at' => ['name' => 'comments_comment_created_at', 'type' => 'DateTime', 'internal' => 'createdAt'], + 'comments_comment_created_at' => ['name' => 'comments_comment_created_at', 'type' => 'DateTime', 'internal' => 'createdAt', 'readonly' => true], ]; /**