]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Diaspora/Receive.php
Update src/Module/Api/Friendica/Photoalbum/Index.php
[friendica.git] / src / Module / Diaspora / Receive.php
index 3b1049361880fcc59b76c61ef02cf9c62a6ef8c9..ce102df06d32cba70f7888dbd3dae168f969e878 100644 (file)
@@ -67,6 +67,7 @@ class Receive extends BaseModule
        /**
         * Receive a public Diaspora posting
         *
+        * @return void
         * @throws HTTPException\InternalServerErrorException
         * @throws \ImagickException
         */
@@ -84,6 +85,7 @@ class Receive extends BaseModule
        /**
         * Receive a Diaspora posting for a user
         *
+        * @return void
         * @throws HTTPException\InternalServerErrorException
         * @throws \ImagickException
         */
@@ -127,7 +129,7 @@ class Receive extends BaseModule
         * @throws HTTPException\InternalServerErrorException
         * @throws \ImagickException
         */
-       private function decodePost(bool $public = true, string $privKey = '')
+       private function decodePost(bool $public = true, string $privKey = ''): array
        {
                if (empty($_POST['xml'])) {