From 4ba9a4cd364ace68680aa1b869bea3f9b993c32a Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 20 Feb 2020 18:58:38 +0100 Subject: [PATCH] fixes #209 --- Models/CommentListMapper.php | 2 +- Models/CommentMapper.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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], ]; /**