MDL-78145 lib: Added missing class properties in pear

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-05-27 11:11:29 +07:00
committed by meirzamoodle
parent 6b8884e13b
commit b3350a0ea7
4 changed files with 7 additions and 3 deletions
+1 -2
View File
@@ -138,7 +138,7 @@ class HTML_QuickForm_Renderer_Array extends HTML_QuickForm_Renderer
* false: leave labels as defined
* @var bool
*/
var $staticLabels = false;
var $_staticLabels = false;
/**
* Constructor
@@ -187,7 +187,6 @@ class HTML_QuickForm_Renderer_Array extends HTML_QuickForm_Renderer
if ($this->_collectHidden) {
$this->_ary['hidden'] = '';
}
$this->_elementIdx = 1;
$this->_currentSection = null;
$this->_sectionCount = 0;
} // end func startForm