From 366400a48fd680cbcd5dba7ddb3c3aa77477e5e5 Mon Sep 17 00:00:00 2001 From: Huong Nguyen Date: Thu, 29 Feb 2024 15:29:24 +0700 Subject: [PATCH] MDL-78447 tool_generator: Fix PHP 8.2 dynamic properties --- admin/tool/generator/classes/backend.php | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/admin/tool/generator/classes/backend.php b/admin/tool/generator/classes/backend.php index 634ef6eeb413b..e6e49b0a09515 100644 --- a/admin/tool/generator/classes/backend.php +++ b/admin/tool/generator/classes/backend.php @@ -72,10 +72,23 @@ abstract class tool_generator_backend { protected $size; /** - * @var progrss_bar progressbar + * @var progress_bar progressbar */ protected $progressbar; + /** + * @var string Part of the language string. + */ + protected $langstring; + /** + * @var string Module for the language string. + */ + protected $module; + /** + * @var string|object|array|int Optional language string parameters. + */ + protected $aparam; + /** * Generic generator class *