From a7b3949ca0531328935dcd589f77ba4ab0c21ada Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 13 Feb 2023 11:57:02 +0000 Subject: [PATCH] Added documentation --- src/Protocol/ActivityPub/Processor.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/Protocol/ActivityPub/Processor.php b/src/Protocol/ActivityPub/Processor.php index 026aea4716..dc618370a0 100644 --- a/src/Protocol/ActivityPub/Processor.php +++ b/src/Protocol/ActivityPub/Processor.php @@ -2145,6 +2145,14 @@ class Processor return $body; } + /** + * Create an item array from client to server object data + * + * @param array $object_data + * @param array $application + * @param integer $uid + * @return array + */ public static function processC2SContent(array $object_data, array $application, int $uid): array { $owner = User::getOwnerDataById($uid); -- 2.39.5