From ae17dcde01caeef1f49564f688b2f505c3e13e66 Mon Sep 17 00:00:00 2001 From: Huong Nguyen Date: Tue, 20 Feb 2024 16:38:49 +0700 Subject: [PATCH] MDL-76024 qtype calculated: Fix deprecation related to dynamic property --- .../type/calculated/classes/qtype_calculated_answer.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/question/type/calculated/classes/qtype_calculated_answer.php b/question/type/calculated/classes/qtype_calculated_answer.php index fc42766ab56..f9ccef221b9 100644 --- a/question/type/calculated/classes/qtype_calculated_answer.php +++ b/question/type/calculated/classes/qtype_calculated_answer.php @@ -35,4 +35,10 @@ class qtype_calculated_answer extends \qtype_numerical_answer { /** @var int The format of the correct answer. */ public $correctanswerformat; + + /** @var int The max tolerance of the correct answer. */ + public $max; + + /** @var int The min tolerance of the correct answer. */ + public $min; }