From: Pierre Rudloff Date: Sat, 23 Dec 2017 00:25:43 +0000 (+0100) Subject: api_format_data can also return an array X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b4cf27e76731556c2b4d2941f51b74e1935e0ba7;p=friendica.git api_format_data can also return an array --- diff --git a/include/api.php b/include/api.php index 724568279a..b6181ea1a4 100644 --- a/include/api.php +++ b/include/api.php @@ -946,7 +946,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) XML data or JSON data + * @return (string|object|array) XML data or JSON data */ function api_format_data($root_element, $type, $data) {