mirror of
https://github.com/Karaka-Management/oms-Comments.git
synced 2026-02-17 01:38:41 +00:00
Type and cs fixes
This commit is contained in:
parent
17beb7bb3b
commit
c2d546b27b
|
|
@ -57,7 +57,7 @@ class Comment
|
||||||
* @var int
|
* @var int
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
private $list = 0;
|
private int $list = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Title
|
* Title
|
||||||
|
|
@ -67,6 +67,12 @@ class Comment
|
||||||
*/
|
*/
|
||||||
private $title = '';
|
private $title = '';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Comment status
|
||||||
|
*
|
||||||
|
* @var int
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
private int $status = 0;
|
private int $status = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -85,7 +91,13 @@ class Comment
|
||||||
*/
|
*/
|
||||||
private $contentRaw = '';
|
private $contentRaw = '';
|
||||||
|
|
||||||
private $ref = null;
|
/**
|
||||||
|
* Comment this is refering to
|
||||||
|
*
|
||||||
|
* @var null|self
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
|
private ?Comment $ref = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ final class CommentListMapper extends DataMapperAbstract
|
||||||
/**
|
/**
|
||||||
* Has many relation.
|
* Has many relation.
|
||||||
*
|
*
|
||||||
* @var array<string, array{mapper:string, table:string, self?:?string, external?:?string}>
|
* @var array<string, array{mapper:string, table:string, self?:?string, external?:?string, column?:string}>
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
protected static array $hasMany = [
|
protected static array $hasMany = [
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user