This commit is contained in:
Dennis Eichhorn 2020-02-20 18:58:38 +01:00
parent 0e479606d1
commit 4ba9a4cd36
2 changed files with 3 additions and 3 deletions

View File

@ -29,7 +29,7 @@ final class CommentListMapper extends DataMapperAbstract
/**
* Columns.
*
* @var array<string, array{name:string, type:string, internal:string, autocomplete?:bool, annotations?:array}>
* @var array<string, array{name:string, type:string, internal:string, autocomplete?:bool, readonly?:bool, annotations?:array}>
* @since 1.0.0
*/
protected static array $columns = [

View File

@ -29,7 +29,7 @@ final class CommentMapper extends DataMapperAbstract
/**
* Columns.
*
* @var array<string, array{name:string, type:string, internal:string, autocomplete?:bool, annotations?:array}>
* @var array<string, array{name:string, type:string, internal:string, autocomplete?:bool, readonly?:bool, annotations?: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],
];
/**