fix tests

This commit is contained in:
Dennis Eichhorn 2024-04-25 18:59:21 +00:00
parent e578c0c84d
commit a95aaab301
2 changed files with 6 additions and 0 deletions

View File

@ -34,6 +34,7 @@ final class NullSolution extends Solution
public function __construct(int $id = 0) public function __construct(int $id = 0)
{ {
$this->id = $id; $this->id = $id;
parent::__construct();
} }
/** /**

View File

@ -56,6 +56,11 @@ class Solution
public Risk $risk; public Risk $risk;
/**
* Constructor.
*
* @since 1.0.0
*/
public function __construct() public function __construct()
{ {
$this->risk = new Risk(); $this->risk = new Risk();