From 7e0cd1b6dbcba2375c0919e2bc017b56aa02dddc Mon Sep 17 00:00:00 2001 From: Yonas Habteab Date: Thu, 28 Sep 2023 13:12:13 +0200 Subject: [PATCH] Fix github actions --- .../Notifications/Widget/ItemList/IncidentHistoryListItem.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/library/Notifications/Widget/ItemList/IncidentHistoryListItem.php b/library/Notifications/Widget/ItemList/IncidentHistoryListItem.php index 72506c82..177231f8 100644 --- a/library/Notifications/Widget/ItemList/IncidentHistoryListItem.php +++ b/library/Notifications/Widget/ItemList/IncidentHistoryListItem.php @@ -89,7 +89,9 @@ protected function assembleHeader(BaseHtmlElement $header): void $header->addHtml($this->createCaption()); if ($this->item->type === 'opened' || $this->item->type === 'incident_severity_changed') { - $header->add((new SourceIcon(SourceIcon::SIZE_BIG))->addHtml($this->item->event->object->source->getIcon())); + $header->add( + (new SourceIcon(SourceIcon::SIZE_BIG))->addHtml($this->item->event->object->source->getIcon()) + ); } $header->add(new TimeAgo($this->item->time->getTimestamp()));