X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FProtocol%2FSalmon.php;h=f8fa2f0540f66ec56e546e4a421c2c3f2e11a9ea;hb=6c6e3058f20887d9345b3dd104e68756b697330a;hp=47376890d5a677207b5ba691de0a5c9147a1dfea;hpb=d577ab98eb0f28f9f807795f54c87d80ef9c0dc2;p=friendica.git diff --git a/src/Protocol/Salmon.php b/src/Protocol/Salmon.php index 47376890d5..f8fa2f0540 100644 --- a/src/Protocol/Salmon.php +++ b/src/Protocol/Salmon.php @@ -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) {