Permalink
Browse files

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

Amended to change 2 accordin => according
  • Loading branch information...
1 parent e819ff4 commit b9c20952a3507542e86bfc5627e99a4fa97061ad @timhunt timhunt committed with stronk7 Jun 27, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 question/engine/states.php
  2. +2 −2 question/type/rendererbase.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) {
@@ -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.

0 comments on commit b9c2095

Please sign in to comment.