Skip to content
Snippets Groups Projects
Commit e67bcb6b authored by falcon's avatar falcon
Browse files

Fixing critical errors

parent e8cacc56
No related branches found
No related tags found
No related merge requests found
......@@ -264,11 +264,11 @@ class MatchingResponse extends AbstractQuizQuestionResponse {
return $this->score;
}
/*
public function getResponse() {
return $this->answer;
public function getResponse() {
return $this->answer;
}
*/
public function getUserAnswers() {
$user_answers = array();
......
......@@ -137,7 +137,7 @@ interface QuizQuestionResponse {
* @param $answer
* The answer (dependent on question type).
*/
public function __construct($rid, $question, $answer);
public function __construct($rid, $question, $answer = NULL);
/**
* Save the current response.
......@@ -186,7 +186,7 @@ interface QuizQuestionResponse {
* @return
* An HTML string.
*/
public function formatReport($showPoints, $showFeedback);
public function formatReport($showPoints = TRUE, $showFeedback = TRUE);
/**
* Get the integer score.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment