* 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)
{
*
* @param array $item
*
- * @return permission array
+ * @return array with permission data
*/
private static function createPermissionBlockForItem($item)
{
*
* @param array $item
*
- * @return activity type
+ * @return string with activity type
*/
private static function getTypeOfItem($item)
{
*
* @param integer $item_id
*
- * @return object array
+ * @return array with the object data
*/
public static function createObjectFromItemID($item_id)
{
*
* @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)
*
* @param array $item
*
- * @return object array
+ * @return array with the object data
*/
public static function createNote($item)
{