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

Amended to change 2 accordin => according
This commit is contained in:
Tim Hunt
2012-07-05 13:49:05 +02:00
committed by Eloy Lafuente (stronk7)
parent fede0be5de
commit 05038fcba0
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -206,7 +206,7 @@ abstract class question_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) {
+2 -2
View File
@@ -130,7 +130,7 @@ abstract class qtype_renderer extends plugin_renderer_base {
}
/**
* 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 @@ abstract class qtype_renderer extends plugin_renderer_base {
}
/**
* 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.