mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
MDL-46761 fix PHPdocs on question_usage_by_activity::get_total_mark
Thanks to Tony Gardner-Medwin for spotting this.
This commit is contained in:
parent
457f818026
commit
a7b4c96440
@ -310,10 +310,8 @@ class question_usage_by_activity {
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the current mark awarded for the attempt at a question.
|
||||
* @param int $slot the number used to identify this question within this usage.
|
||||
* @return number|null The current mark for this question, or null if one has
|
||||
* not been assigned yet.
|
||||
* Get the total mark for all questions in this usage.
|
||||
* @return number The sum of marks of all the question_attempts in this usage.
|
||||
*/
|
||||
public function get_total_mark() {
|
||||
$mark = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user