From 58ffd93961ee67a9526c812245c0f4044bf25231 Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Fri, 6 Aug 2021 11:17:46 +0300 Subject: [PATCH] fix webhooks --- application/Espo/Core/Webhook/Queue.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;