MDL-77347 files: 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:
@@ -568,6 +568,9 @@ class files_tree_viewer implements renderable {
|
||||
public $path;
|
||||
public $context;
|
||||
|
||||
/** @var array file tree viewer options. */
|
||||
protected array $options = [];
|
||||
|
||||
/**
|
||||
* Constructor of moodle_file_tree_viewer class
|
||||
* @param file_info $file_info
|
||||
|
||||
Reference in New Issue
Block a user