From 4b36f3ad050d806e57f08484a310f0b711ce7b24 Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Mon, 9 Apr 2018 19:19:00 +0200 Subject: [PATCH] api_format_data() seems to never return an object --- include/api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/api.php b/include/api.php index 7f2fbac32a..89c6cea931 100644 --- a/include/api.php +++ b/include/api.php @@ -981,7 +981,7 @@ function api_create_xml($data, $root_element) * @param string $type Return type (atom, rss, xml, json) * @param array $data JSON style array * - * @return (string|object|array) XML data or JSON data + * @return (string|array) XML data or JSON data */ function api_format_data($root_element, $type, $data) { -- 2.39.5