diff --git a/application/Espo/Core/Webhook/Queue.php b/application/Espo/Core/Webhook/Queue.php index fa62695a84..9ad4f7ec0d 100644 --- a/application/Espo/Core/Webhook/Queue.php +++ b/application/Espo/Core/Webhook/Queue.php @@ -248,7 +248,7 @@ class Queue $this->send($webhook, $dataList, $actualItemList); } - private function prepareItemData(WebhookQueueItem $item, User $user, array $forbiddenAttributeList): ?stdClass + private function prepareItemData(WebhookQueueItem $item, ?User $user, array $forbiddenAttributeList): ?stdClass { $targetType = $item->get('targetType'); $target = null;