diff --git a/Models/QAAnswer.php b/Models/QAAnswer.php index 6b86b7f..764b0b1 100644 --- a/Models/QAAnswer.php +++ b/Models/QAAnswer.php @@ -103,6 +103,9 @@ class QAAnswer implements \JsonSerializable return $this->createdAt; } + /** + * {@inheritdoc} + */ public function jsonSerialize() : array { return []; diff --git a/Models/QACategory.php b/Models/QACategory.php index 6225f66..756c218 100644 --- a/Models/QACategory.php +++ b/Models/QACategory.php @@ -59,6 +59,9 @@ class QACategory implements \JsonSerializable $this->parent = $parent; } + /** + * {@inheritdoc} + */ public function jsonSerialize() : array { return []; diff --git a/Models/QAQuestion.php b/Models/QAQuestion.php index adfa77e..40cc735 100644 --- a/Models/QAQuestion.php +++ b/Models/QAQuestion.php @@ -161,6 +161,9 @@ class QAQuestion implements \JsonSerializable $this->answers[] = $answer; } + /** + * {@inheritdoc} + */ public function jsonSerialize() : array { return []; diff --git a/Models/QAQuestionMapper.php b/Models/QAQuestionMapper.php index e427e20..cee92bd 100644 --- a/Models/QAQuestionMapper.php +++ b/Models/QAQuestionMapper.php @@ -50,6 +50,11 @@ final class QAQuestionMapper extends DataMapperAbstract * * @var array> * @since 1.0.0 + */ /** + * Has many relation. + * + * @var array> + * @since 1.0.0 */ protected static $hasMany = [ 'answers' => [