This commit is contained in:
Yuri Kuznetsov
2021-11-04 15:54:48 +02:00
parent 49b55236d0
commit d125d8f067
31 changed files with 85 additions and 26 deletions
@@ -401,11 +401,12 @@ class NoteHookProcessor
}
/**
* @phpstan-return Collection
* @phpstan-return Collection&iterable<User>
* @return User[]
*/
private function getSubscriberList(string $parentType, string $parentId, bool $isInternal = false): Collection
{
/** @var Collection&iterable<User> */
return $this->streamService->getSubscriberList($parentType, $parentId, $isInternal);
}
}