MDL-56755 assign: Improve documentation of assign::get_grade_item()

This commit is contained in:
Michael Aherne
2016-11-08 09:04:25 +00:00
parent 07f06046e3
commit 6ff83aa7e4
+2 -2
View File
@@ -89,7 +89,7 @@ class assign {
/** @var stdClass the assignment record that contains the global settings for this assign instance */
private $instance;
/** @var stdClass the grade_item record for this assign instance's primary grade item. */
/** @var grade_item the grade_item record for this assign instance's primary grade item. */
private $gradeitem;
/** @var context the context of the course module for this assign instance
@@ -1203,7 +1203,7 @@ class assign {
/**
* Get the primary grade item for this assign instance.
*
* @return stdClass The grade_item record
* @return grade_item The grade_item record
*/
public function get_grade_item() {
if ($this->gradeitem) {