From 90409b0d7236ab3bb557cf60512b7ba9f962b23c Mon Sep 17 00:00:00 2001 From: Darin Kotter Date: Fri, 28 Jul 2023 10:05:39 -0600 Subject: [PATCH] Ensure we define the class property before using it --- includes/Classifai/Providers/Watson/NLU.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/includes/Classifai/Providers/Watson/NLU.php b/includes/Classifai/Providers/Watson/NLU.php index 72f9ca0c3..0d30e9115 100644 --- a/includes/Classifai/Providers/Watson/NLU.php +++ b/includes/Classifai/Providers/Watson/NLU.php @@ -27,6 +27,11 @@ class NLU extends Provider { */ public $save_post_handler; + /** + * @var $nlu_features array The list of NLU features + */ + protected $nlu_features = []; + /** * Watson NLU constructor. *