MDL-78005 editor_tiny: Declared vars to supress error logging

This commit is contained in:
David Woloszyn 2023-05-18 12:57:56 +10:00
parent 4901ffe1ba
commit 3f07fc246f
2 changed files with 9 additions and 0 deletions

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.
*/

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.
*/