From: Michael Date: Thu, 30 Nov 2023 17:26:29 +0000 (+0000) Subject: Function is changed to "private" X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=120b60c5ee77e86d1aa535b44c0fb8f2b3f83c81;p=friendica.git Function is changed to "private" --- diff --git a/src/Protocol/ActivityPub/Receiver.php b/src/Protocol/ActivityPub/Receiver.php index de3acfea91..d5128e3581 100644 --- a/src/Protocol/ActivityPub/Receiver.php +++ b/src/Protocol/ActivityPub/Receiver.php @@ -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') ?? '';