From: Pierre Rudloff Date: Mon, 25 Dec 2017 20:14:02 +0000 (+0100) Subject: Missing return types in docblocks X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8c17b9674959159b2b756e2a90fb04e162b40e2a;p=friendica.git Missing return types in docblocks --- diff --git a/include/api.php b/include/api.php index edc9376e89..a7941a979e 100644 --- a/include/api.php +++ b/include/api.php @@ -2708,7 +2708,7 @@ function api_convert_item($item) * * @param string $body * - * @return array + * @return array|false */ function api_get_attachments(&$body) { @@ -4329,7 +4329,7 @@ function api_fr_photo_delete($type) * @brief returns the details of a specified photo id, if scale is given, returns the photo data in base 64 * * @param string $type Known types are 'atom', 'rss', 'xml' and 'json' - * @return string + * @return string|array */ function api_fr_photo_detail($type) {