MDL-77350 mod_h5pactivity: 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:
@@ -52,7 +52,6 @@ class attempt {
|
||||
*/
|
||||
public function __construct(stdClass $record) {
|
||||
$this->record = $record;
|
||||
$this->results = null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user