public function get_expected_qt_data() { $hint = $this->get_applicable_hint(); if (!empty($hint->clearwrong)) { return $this->question->get_expected_data(); } return parent::get_expected_qt_data(); }