MDL-64783 analytics: Activities due insight forwards to calendar

The patch includes changes applied after the peer review.
This commit is contained in:
David Monllaó
2019-04-09 00:29:57 +02:00
committed by Eloy Lafuente (stronk7)
parent 93663fa1a8
commit 982fef46f4
24 changed files with 119 additions and 78 deletions
+2 -2
View File
@@ -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) {