MDL-78005 editor_tiny: Declared vars to supress error logging

This commit is contained in:
David Woloszyn
2023-05-18 13:02:55 +10:00
parent 4f625c1e2e
commit a0920d8b8d
2 changed files with 9 additions and 0 deletions
+3
View File
@@ -50,6 +50,9 @@ class lang {
/** @var bool Whether Moodle is fully loaded or not */
protected $fullyloaded = false;
/** @var string The complete path to the candidate file */
protected $candidatefile;
/**
* Constructor to load and serve the langfile.
*/
+6
View File
@@ -49,6 +49,12 @@ class loader {
/** @var string The mimetype to send */
protected $mimetype = null;
/** @var string The component to use */
protected $component;
/** @var string The complete path to the candidate file */
protected $candidatefile;
/**
* Initialise the class, parse the request and serve the content.
*/