]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/Salmon.php
code standards
[friendica.git] / src / Protocol / Salmon.php
index 47376890d5a677207b5ba691de0a5c9147a1dfea..f8fa2f0540f66ec56e546e4a421c2c3f2e11a9ea 100644 (file)
@@ -22,6 +22,7 @@ class Salmon
         * @param string $uri     Uniform Resource Identifier
         * @param string $keyhash encoded key
         * @return mixed
+        * @throws \Friendica\Network\HTTPException\InternalServerErrorException
         */
        public static function getKey($uri, $keyhash)
        {
@@ -86,6 +87,7 @@ class Salmon
         * @param string $url   url
         * @param string $slap  slap
         * @return integer
+        * @throws \Friendica\Network\HTTPException\InternalServerErrorException
         */
        public static function slapper($owner, $url, $slap)
        {
@@ -205,6 +207,7 @@ class Salmon
        /**
         * @param string $pubkey public key
         * @return string
+        * @throws \Exception
         */
        public static function salmonKey($pubkey)
        {