From: Pierre Rudloff Date: Mon, 9 Apr 2018 17:19:00 +0000 (+0200) Subject: api_format_data() seems to never return an object X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4b36f3ad050d806e57f08484a310f0b711ce7b24;p=friendica.git api_format_data() seems to never return an object --- 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) {