MDL-64783 analytics: Activities due insight forwards to calendar
The patch includes changes applied after the peer review.
This commit is contained in:
committed by
Eloy Lafuente (stronk7)
parent
93663fa1a8
commit
982fef46f4
@@ -133,7 +133,7 @@ class course implements \core_analytics\analysable {
|
||||
* through this constructor will not be cached.
|
||||
*
|
||||
* @param int|\stdClass $course Course id or mdl_course record
|
||||
* @param ?\context $context
|
||||
* @param \context|null $context
|
||||
* @return void
|
||||
*/
|
||||
public function __construct($course, ?\context $context = null) {
|
||||
@@ -156,7 +156,7 @@ class course implements \core_analytics\analysable {
|
||||
* Lazy load of course data, students and teachers.
|
||||
*
|
||||
* @param int|\stdClass $course Course object or course id
|
||||
* @param ?\context $context
|
||||
* @param \context|null $context
|
||||
* @return \core_analytics\course
|
||||
*/
|
||||
public static function instance($course, ?\context $context = null) {
|
||||
|
||||
Reference in New Issue
Block a user