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:
Meirza
2023-03-27 15:58:22 +07:00
parent 7466712fc2
commit a36fcf48a9
+3
View File
@@ -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