X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FCore%2FProtocol.php;h=796add5558184cc423a402bbcb6cfcdc4cf2d66d;hb=fa55928ea3978e96bf1cc21f3759f5607f3ef503;hp=3484d281b1c52bbf904f9c5725dda759e083f6b2;hpb=80a8cd86c474022d975f41a3c434609ff4ceb778;p=friendica.git diff --git a/src/Core/Protocol.php b/src/Core/Protocol.php index 3484d281b1..796add5558 100644 --- a/src/Core/Protocol.php +++ b/src/Core/Protocol.php @@ -269,7 +269,7 @@ class Protocol * @throws \Friendica\Network\HTTPException\InternalServerErrorException * @throws \ImagickException */ - public static function revokeFollow(array $contact) + public static function revokeFollow(array $contact): ?bool { if (empty($contact['network'])) { throw new \InvalidArgumentException('Missing network key in contact array');