MDL-34065 questions: also fix two typos in comments.
Amended to change 2 accordin => according
This commit is contained in:
committed by
Eloy Lafuente (stronk7)
parent
fede0be5de
commit
05038fcba0
@@ -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) {
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user