From 1c615f80c4f8a10f6bbaeebb4d9fa15f78c8372d Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 4 Oct 2018 12:53:41 +0000 Subject: [PATCH] Improved return values --- src/Protocol/ActivityPub/Transmitter.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Protocol/ActivityPub/Transmitter.php b/src/Protocol/ActivityPub/Transmitter.php index 8104d46696..965c430a70 100644 --- a/src/Protocol/ActivityPub/Transmitter.php +++ b/src/Protocol/ActivityPub/Transmitter.php @@ -186,7 +186,7 @@ class Transmitter * Return the ActivityPub profile of the given user * * @param integer $uid User ID - * @return profile array + * @return array with profile data */ public static function getProfile($uid) { @@ -294,7 +294,7 @@ class Transmitter * * @param array $item * - * @return permission array + * @return array with permission data */ private static function createPermissionBlockForItem($item) { @@ -453,7 +453,7 @@ class Transmitter * * @param array $item * - * @return activity type + * @return string with activity type */ private static function getTypeOfItem($item) { @@ -557,7 +557,7 @@ class Transmitter * * @param integer $item_id * - * @return object array + * @return array with the object data */ public static function createObjectFromItemID($item_id) { @@ -607,7 +607,7 @@ class Transmitter * * @param array $item Data of the item that is to be posted * @param text $type Object type - * @return attachment array + * @return array with attachment data */ private static function createAttachmentList($item, $type) @@ -687,7 +687,7 @@ class Transmitter * * @param array $item * - * @return object array + * @return array with the object data */ public static function createNote($item) { -- 2.39.5