From 120b60c5ee77e86d1aa535b44c0fb8f2b3f83c81 Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 30 Nov 2023 17:26:29 +0000 Subject: [PATCH] Function is changed to "private" --- src/Protocol/ActivityPub/Receiver.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') ?? ''; -- 2.39.5