api_format_data() seems to never return an object

This commit is contained in:
Pierre Rudloff 2018-04-09 19:19:00 +02:00
parent b684a74449
commit 4b36f3ad05
1 changed files with 1 additions and 1 deletions

View File

@ -981,7 +981,7 @@ function api_create_xml($data, $root_element)
* @param string $type Return type (atom, rss, xml, json) * @param string $type Return type (atom, rss, xml, json)
* @param array $data JSON style array * @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) function api_format_data($root_element, $type, $data)
{ {