diff --git a/src/RuleCollection.php b/src/RuleCollection.php index 38a4fa5db31..d2fe47cd452 100644 --- a/src/RuleCollection.php +++ b/src/RuleCollection.php @@ -50,7 +50,7 @@ class RuleCollection extends CommonDBTM public $use_output_rule_process_as_next_input = false; /// Rule collection can be replay (for dictionary) public $can_replay_rules = false; - /// List of rules of the rule collection + /** @var SingletonRuleList $RuleList List of rules of the rule collection */ public $RuleList = null; /// Menu type public $menu_type = "rule"; @@ -1694,6 +1694,7 @@ public function showRulesEnginePreviewCriteriasForm($target, array $values, $con $input = $this->prepareInputDataForTestProcess($condition); if (count($input)) { + /** @var Rule $rule */ $rule = $this->getRuleClass(); $criterias = $rule->getAllCriteria(); echo "