This is not required. You can call directly `return $db->loadObject();`