]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Protocol.php
Replace own VoidLogger with PSR-Standard NullLogger()
[friendica.git] / src / Core / Protocol.php
index 3484d281b1c52bbf904f9c5725dda759e083f6b2..796add5558184cc423a402bbcb6cfcdc4cf2d66d 100644 (file)
@@ -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');