From eb46d9309d54aeb872730853290c2cbfaff1e1e6 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 20 Feb 2020 18:58:38 +0100 Subject: [PATCH] fixes #209 --- Models/WikiCategoryMapper.php | 2 +- Models/WikiDocMapper.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Models/WikiCategoryMapper.php b/Models/WikiCategoryMapper.php index f27209b..d789a85 100644 --- a/Models/WikiCategoryMapper.php +++ b/Models/WikiCategoryMapper.php @@ -29,7 +29,7 @@ final class WikiCategoryMapper extends DataMapperAbstract /** * Columns. * - * @var array + * @var array * @since 1.0.0 */ protected static array $columns = [ diff --git a/Models/WikiDocMapper.php b/Models/WikiDocMapper.php index 9a19895..dfd4f5e 100644 --- a/Models/WikiDocMapper.php +++ b/Models/WikiDocMapper.php @@ -29,7 +29,7 @@ final class WikiDocMapper extends DataMapperAbstract /** * Columns. * - * @var array + * @var array * @since 1.0.0 */ protected static array $columns = [ @@ -40,7 +40,7 @@ final class WikiDocMapper extends DataMapperAbstract 'wiki_article_status' => ['name' => 'wiki_article_status', 'type' => 'int', 'internal' => 'status'], 'wiki_article_category' => ['name' => 'wiki_article_category', 'type' => 'int', 'internal' => 'category'], 'wiki_article_created_by' => ['name' => 'wiki_article_created_by', 'type' => 'int', 'internal' => 'createdBy'], - 'wiki_article_created_at' => ['name' => 'wiki_article_created_at', 'type' => 'DateTime', 'internal' => 'createdAt'], + 'wiki_article_created_at' => ['name' => 'wiki_article_created_at', 'type' => 'DateTime', 'internal' => 'createdAt', 'readonly' => true], ]; /**