Function is changed to "private"

This commit is contained in:
Michael 2023-11-30 17:26:29 +00:00
parent f5337904e4
commit 120b60c5ee

View file

@ -1099,7 +1099,7 @@ class Receiver
* *
* @return int user id * @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; $uid = 0;
$actor = $actor ?: JsonLD::fetchElement($activity, 'as:actor', '@id') ?? ''; $actor = $actor ?: JsonLD::fetchElement($activity, 'as:actor', '@id') ?? '';