From 6ff83aa7e46f51189d3ef27df3d9748ea68fb3b5 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 d5f186c7737..7192d1ffcf4 100644 --- a/mod/assign/locallib.php +++ b/mod/assign/locallib.php @@ -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) {