MDL-59801 core_user: add missing class variable declaration
authorMark Nelson <markn@moodle.com>
Tue, 29 Aug 2017 08:12:01 +0000 (16:12 +0800)
committerMark Nelson <markn@moodle.com>
Tue, 29 Aug 2017 08:28:56 +0000 (16:28 +0800)
Also minor fix to PHPDocs.

user/classes/output/user_roles_editable.php

index a9c586b..4b05ef1 100644 (file)
@@ -43,8 +43,11 @@ class user_roles_editable extends \core\output\inplace_editable {
     /** @var $context */
     private $context = null;
 
-    /** @var $courseroles Array */
-    private $courseroles = null;
+    /** @var \stdClass[] $courseroles */
+    private $courseroles;
+
+    /** @var \stdClass[] $profileroles */
+    private $profileroles;
 
     /**
      * Constructor.