From db8514bcfff8395d50377d88ac16c482c2ed9efe Mon Sep 17 00:00:00 2001 From: Michael Aherne Date: Fri, 4 Nov 2016 11:32:21 +0000 Subject: [PATCH] MDL-56755 assign: Improve documentation of assign::get_grade_item() --- mod/assign/locallib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/assign/locallib.php b/mod/assign/locallib.php index 5f07def95d3..2530ae6628a 100644 --- a/mod/assign/locallib.php +++ b/mod/assign/locallib.php @@ -91,7 +91,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 @@ -1245,7 +1245,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) { -- 2.43.0