Explicitly add Module#configdir as (non-dynamic) property

W/o this the login page, if on PHP 8.2, says:

Deprecated: Creation of dynamic property Icinga\Application\Modules\Module::$configdir is deprecated in /usr/share/icingaweb2/library/Icinga/Application/Modules/Module.php on line 264

This breaks modules (if any) which use the property and not the getter.
This commit is contained in:
Alexander A. Klimov 2022-09-21 11:29:58 +02:00 committed by raviks789
parent f330fcba91
commit 6de4bd6e7e
1 changed files with 7 additions and 0 deletions

View File

@ -76,6 +76,13 @@ class Module
*/
private $libdir;
/**
* Config directory
*
* @var string
*/
private $configdir;
/**
* Directory containing translations
*