]> git.mxchange.org Git - friendica.git/commitdiff
Ops, bad type-hint here
authorRoland Häder <roland@mxchange.org>
Thu, 16 Jun 2022 17:17:25 +0000 (19:17 +0200)
committerRoland Häder <roland@mxchange.org>
Fri, 17 Jun 2022 15:18:31 +0000 (17:18 +0200)
src/Protocol/ActivityPub/Receiver.php

index 05c40222b12089af3251ba654d968dbe985124c6..fe16256f07c3407a41273c9a0177f55761f2fc32 100644 (file)
@@ -1054,7 +1054,7 @@ class Receiver
         * @return bool with receivers (user id)
         * @throws \Exception
         */
         * @return bool with receivers (user id)
         * @throws \Exception
         */
-       private static function isValidReceiverForActor(array $contact, string $tags): bool
+       private static function isValidReceiverForActor(array $contact, array $tags): bool
        {
                // Are we following the contact? Then this is a valid receiver
                if (in_array($contact['rel'], [Contact::SHARING, Contact::FRIEND])) {
        {
                // Are we following the contact? Then this is a valid receiver
                if (in_array($contact['rel'], [Contact::SHARING, Contact::FRIEND])) {