Skip to content

Commit

Permalink
MDL-34065 questions: also fix two typos in comments.
Browse files Browse the repository at this point in the history
Amended to change 2 accordin => according
  • Loading branch information
timhunt authored and stronk7 committed Jul 5, 2012
1 parent e819ff4 commit b9c2095
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion question/engine/states.php
Expand Up @@ -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) {
Expand Down
4 changes: 2 additions & 2 deletions question/type/rendererbase.php
Expand Up @@ -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.
Expand All @@ -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.
Expand Down

0 comments on commit b9c2095

Please sign in to comment.