fix minor construct bugs

This commit is contained in:
Dennis Eichhorn 2020-03-05 21:01:09 +01:00
parent 80c7d090e9
commit cc6b1bd80c
2 changed files with 2 additions and 0 deletions

View File

@ -34,5 +34,6 @@ final class NullQAAnswer extends QAAnswer
public function __construct(int $id = 0) public function __construct(int $id = 0)
{ {
$this->id = $id; $this->id = $id;
parent::__construct();
} }
} }

View File

@ -34,5 +34,6 @@ final class NullQAQuestion extends QAQuestion
public function __construct(int $id = 0) public function __construct(int $id = 0)
{ {
$this->id = $id; $this->id = $id;
parent::__construct();
} }
} }