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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user