From 8c17b9674959159b2b756e2a90fb04e162b40e2a Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Mon, 25 Dec 2017 21:14:02 +0100 Subject: [PATCH] Missing return types in docblocks --- include/api.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) { -- 2.39.5