MDL-77337 analytics: Added class properties that are not declared.

In PHP 8.2 and later, setting a value to an undeclared class property is
deprecated and emits a deprecation notice.
So we need to add missing class properties that still need to be declared.
This commit is contained in:
Meirza
2023-03-16 09:46:07 +07:00
parent 12a8176926
commit a6894fc65e
9 changed files with 117 additions and 0 deletions
+3
View File
@@ -126,6 +126,9 @@ class course implements \core_analytics\analysable {
*/
protected $ntotallogs = null;
/** @var int Store current Unix timestamp. */
protected int $now = 0;
/**
* Course manager constructor.
*