diff --git a/tests/system/Database/Live/GetTest.php b/tests/system/Database/Live/GetTest.php index 59381e07a6c2..29dbdad10c0d 100644 --- a/tests/system/Database/Live/GetTest.php +++ b/tests/system/Database/Live/GetTest.php @@ -229,7 +229,15 @@ public function testGetRowWithReturnType() public function testGetRowWithCustomReturnType() { - $testClass = new class () {}; + $testClass = new class () { + public $id; + public $name; + public $email; + public $country; + public $created_at; + public $updated_at; + public $deleted_at; + }; $user = $this->db->table('user')->get()->getRow(0, get_class($testClass));