mirror of
https://github.com/Karaka-Management/oms-QA.git
synced 2026-02-10 13:08:41 +00:00
fix phpstan
This commit is contained in:
parent
40f83519de
commit
52e9db17cf
|
|
@ -34,15 +34,35 @@ class QAAnswer implements \JsonSerializable
|
|||
|
||||
private int $status = QAAnswerStatus::ACTIVE;
|
||||
|
||||
/**
|
||||
* Answer.
|
||||
*
|
||||
* @var string
|
||||
* @var 1.0.0
|
||||
*/
|
||||
private $answer = '';
|
||||
|
||||
/**
|
||||
* Answer raw.
|
||||
*
|
||||
* @var string
|
||||
* @var 1.0.0
|
||||
*/
|
||||
private $answerRaw = '';
|
||||
|
||||
private $question = 0;
|
||||
|
||||
private $isAccepted = false;
|
||||
/**
|
||||
* Is accepted answer.
|
||||
*
|
||||
* @var bool
|
||||
* @var 1.0.0
|
||||
*/
|
||||
private bool $isAccepted = false;
|
||||
|
||||
private $createdBy = 0;
|
||||
|
||||
private $createdAt = null;
|
||||
private \DateTime $createdAt;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
|
|
|
|||
|
|
@ -40,6 +40,12 @@ class QACategory implements \JsonSerializable
|
|||
*/
|
||||
private string $name = '';
|
||||
|
||||
/**
|
||||
* Parent category.
|
||||
*
|
||||
* @var null|int|QACategory
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private $parent = null;
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user