]> git.mxchange.org Git - friendica.git/commitdiff
Function is changed to "private"
authorMichael <heluecht@pirati.ca>
Thu, 30 Nov 2023 17:26:29 +0000 (17:26 +0000)
committerMichael <heluecht@pirati.ca>
Thu, 30 Nov 2023 17:26:29 +0000 (17:26 +0000)
src/Protocol/ActivityPub/Receiver.php

index de3acfea915dd30c0aef8736b3acd32e4f8dd06f..d5128e35814b3f63b75cf5ce89fb0894457573fc 100644 (file)
@@ -1099,7 +1099,7 @@ class Receiver
         *
         * @return int   user id
         */
-       public static function getBestUserForActivity(array $activity, string $actor = '', string $http_signer): int
+       private static function getBestUserForActivity(array $activity, string $actor, string $http_signer): int
        {
                $uid = 0;
                $actor = $actor ?: JsonLD::fetchElement($activity, 'as:actor', '@id') ?? '';