This commit is contained in:
Laurent Destailleur 2026-05-22 08:43:13 +02:00
parent f17f5bcdd4
commit 99e364ccdd
2 changed files with 2 additions and 2 deletions

View file

@ -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) {

View file

@ -407,7 +407,7 @@ class ToolCategories extends McpTool
* Searches for categories based on a query and type.
*
* @param array<string, mixed> $args Array containing 'query' (string), 'scope' (string), 'limit' (int), 'offset' (int).
* @return list<array<string, mixed>> A list of found categories or an error array.
* @return array{error:string}|array{count:int}|list<array<string, mixed>> A list of found categories or an error array.
*/
private function searchCategories($args)
{