mirror of
https://github.com/moodle/moodle.git
synced 2025-08-11 11:56:40 +02:00
MDL-77350 comment: Added class properties that are not declared
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:
parent
7bd302f1f6
commit
0d3a840154
2 changed files with 20 additions and 0 deletions
|
@ -96,6 +96,8 @@ class comment {
|
|||
private static $comment_page = null;
|
||||
/** @var string comment itemid component in non-javascript UI */
|
||||
private static $comment_component = null;
|
||||
/** @var stdClass comment paramaters for callback. */
|
||||
protected $comment_param;
|
||||
|
||||
/**
|
||||
* Construct function of comment class, initialise
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue