options usage

This commit is contained in:
Yuri Kuznetsov
2021-05-20 18:22:57 +03:00
parent f81ef16012
commit 810677014c
9 changed files with 172 additions and 33 deletions
@@ -52,7 +52,7 @@ class DefaultAssignmentNotificator implements AssignmentNotificator
$this->userChecker = $userChecker;
}
public function process(Entity $entity, array $options = []): void
public function process(Entity $entity, NotificatorParams $params): void
{
if ($entity->hasLinkMultipleField('assignedUsers')) {
$userIdList = $entity->getLinkMultipleIdList('assignedUsers');