]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Contact.php
Fix overly strict return value for revokeFollow methods
[friendica.git] / src / Model / Contact.php
index cbe370a4aa8250d35a899d3b1de59d2e32105adf..918eab384fdc55c0ac041fff1400b298f28eb17b 100644 (file)
@@ -857,7 +857,7 @@ class Contact
         * @throws HTTPException\InternalServerErrorException
         * @throws \ImagickException
         */
-       public static function revokeFollow(array $contact): bool
+       public static function revokeFollow(array $contact): ?bool
        {
                if (empty($contact['network'])) {
                        throw new \InvalidArgumentException('Empty network in contact array');