protected function addNotificationLink($userId, WallNotificationEntity $notification) { $notifData = $notification->data; $this->addNotificationLinkInternal($userId, $notifData->wiki, ['unique_id' => $notification->getUniqueId(), 'entity_key' => $notification->id, 'author_id' => $notifData->msg_author_id, 'is_reply' => $notification->isReply(), 'notifyeveryone' => $notifData->notifyeveryone]); }