MDL-77346 mod_workshop: Added missing class properties

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-27 21:59:39 +07:00
parent 09fd61415e
commit 98c55a725e
10 changed files with 148 additions and 3 deletions
+2
View File
@@ -731,6 +731,8 @@ class workshop_random_allocator_setting {
public $assesswosubmission;
/** @var bool add self-assessments */
public $addselfassessment;
/** @var bool scheduled allocation status */
public $enablescheduled;
/**
* Use the factory method {@link self::instance_from_object()}