mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
MDL-77348 mod_glossary: Added missing class properties
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
bd2de8edf6
commit
a96114571e
1 changed files with 3 additions and 0 deletions
|
@ -224,6 +224,9 @@ class glossary_entry_portfolio_caller extends portfolio_module_caller_base {
|
|||
/** @var array Array that contains all aliases for the given glossary entry. */
|
||||
private array $aliases = [];
|
||||
|
||||
/** @var array categories. */
|
||||
private array $categories = [];
|
||||
|
||||
/*
|
||||
* @return array
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue