MDL-78159 lib: Added missing properties for core libraries
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:
@@ -496,6 +496,12 @@ class filterobject {
|
||||
/** @var null|string once initialised, holds the mangled HTML to replace the regexp with. */
|
||||
public $workreplacementphrase = null;
|
||||
|
||||
/** @var null|callable hold a replacement function to be called. */
|
||||
public $replacementcallback;
|
||||
|
||||
/** @var null|array data to be passed to $replacementcallback. */
|
||||
public $replacementcallbackdata;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user