From cc6b1bd80c03f3d45e5ca2da094865083e8a77ce Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 5 Mar 2020 21:01:09 +0100 Subject: [PATCH] fix minor construct bugs --- Models/NullQAAnswer.php | 1 + Models/NullQAQuestion.php | 1 + 2 files changed, 2 insertions(+) diff --git a/Models/NullQAAnswer.php b/Models/NullQAAnswer.php index 7dfd3fb..70a8a26 100644 --- a/Models/NullQAAnswer.php +++ b/Models/NullQAAnswer.php @@ -34,5 +34,6 @@ final class NullQAAnswer extends QAAnswer public function __construct(int $id = 0) { $this->id = $id; + parent::__construct(); } } diff --git a/Models/NullQAQuestion.php b/Models/NullQAQuestion.php index 5e1b126..5ba0d47 100644 --- a/Models/NullQAQuestion.php +++ b/Models/NullQAQuestion.php @@ -34,5 +34,6 @@ final class NullQAQuestion extends QAQuestion public function __construct(int $id = 0) { $this->id = $id; + parent::__construct(); } }