From 99e364ccdd99bfb7f7dbc65d9ff782a2398d113b Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 22 May 2026 08:43:13 +0200 Subject: [PATCH] ci --- htdocs/ai/assistant/parse_intent.php | 2 +- htdocs/ai/tools/categories.class.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/ai/assistant/parse_intent.php b/htdocs/ai/assistant/parse_intent.php index eeefa3e1585..9c5b59b46bd 100644 --- a/htdocs/ai/assistant/parse_intent.php +++ b/htdocs/ai/assistant/parse_intent.php @@ -217,7 +217,7 @@ try { return mb_strlen($b) - mb_strlen($a); }); - dol_syslog("parse_intent.php We have candidates into text that may be a thirdparty. List is ".join(',', $candidates), LOG_DEBUG); + dol_syslog("parse_intent.php We have candidates into text that may be a thirdparty. List is ".implode(',', $candidates), LOG_DEBUG); if (!empty($candidates)) { foreach ($candidates as $phrase) { diff --git a/htdocs/ai/tools/categories.class.php b/htdocs/ai/tools/categories.class.php index 1b60f379b62..da3464cd2a2 100644 --- a/htdocs/ai/tools/categories.class.php +++ b/htdocs/ai/tools/categories.class.php @@ -407,7 +407,7 @@ class ToolCategories extends McpTool * Searches for categories based on a query and type. * * @param array $args Array containing 'query' (string), 'scope' (string), 'limit' (int), 'offset' (int). - * @return list> A list of found categories or an error array. + * @return array{error:string}|array{count:int}|list> A list of found categories or an error array. */ private function searchCategories($args) {