[TOOLS] Fix errors reported by PHPStan

This commit is contained in:
2021-12-29 13:34:20 +00:00
parent 5229d4cd8c
commit 8831276489
3 changed files with 3 additions and 3 deletions

View File

@@ -70,7 +70,7 @@ class Feeds extends FeedController
$data = Feed::query(
query: 'note-from:subscribed-person,subscribed-group,subscribed-organization,subscribed-business',
page: $this->int('p'),
language: $actor?->getTopLanguage()?->getLocale(),
language: $actor->getTopLanguage()->getLocale(),
actor: $actor,
);
return [