Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-34065 questions: also fix two typos in comments.

Amended to change 2 accordin => according
  • Loading branch information...
commit b9c20952a3507542e86bfc5627e99a4fa97061ad 1 parent e819ff4
@timhunt timhunt authored stronk7 committed
Showing with 3 additions and 3 deletions.
  1. +1 −1  question/engine/states.php
  2. +2 −2 question/type/rendererbase.php
View
2  question/engine/states.php
@@ -206,7 +206,7 @@ public function get_summary_state() {
* Appropriate allowance is made for rounding float values.
*
* @param number $fraction the grade, on the fraction scale.
- * @return int one of the state constants.
+ * @return question_state one of the state constants.
*/
public static function graded_state_for_fraction($fraction) {
if ($fraction < 0.000001) {
View
4 question/type/rendererbase.php
@@ -130,7 +130,7 @@ public function feedback(question_attempt $qa, question_display_options $options
}
/**
- * Gereate the specific feedback. This is feedback that varies accordin to
+ * Generate the specific feedback. This is feedback that varies according to
* the reponse the student gave.
* @param question_attempt $qa the question attempt to display.
* @return string HTML fragment.
@@ -157,7 +157,7 @@ protected function num_parts_correct(question_attempt $qa) {
}
/**
- * Gereate the specific feedback. This is feedback that varies accordin to
+ * Gereate the specific feedback. This is feedback that varies according to
* the reponse the student gave.
* @param question_attempt $qa the question attempt to display.
* @return string HTML fragment.
Please sign in to comment.
Something went wrong with that request. Please try again.