]> git.mxchange.org Git - friendica.git/commitdiff
Added documentation
authorMichael <heluecht@pirati.ca>
Mon, 13 Feb 2023 11:57:02 +0000 (11:57 +0000)
committerMichael <heluecht@pirati.ca>
Mon, 13 Feb 2023 11:57:02 +0000 (11:57 +0000)
src/Protocol/ActivityPub/Processor.php

index 026aea4716a45ed08d9156d46c687c8246ab116c..dc618370a01cd9bfbec785ba43cecb66499a7808 100644 (file)
@@ -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);