From d68f9b23acc2a0cf40d2ec63d212412ff816b291 Mon Sep 17 00:00:00 2001 From: Anna Larch Date: Tue, 7 Nov 2023 12:55:13 +0100 Subject: [PATCH] fixup! fix: add VTIMEZONE to Appointments --- lib/Service/Appointments/TimezoneGenerator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Service/Appointments/TimezoneGenerator.php b/lib/Service/Appointments/TimezoneGenerator.php index c1391c9566..3989121779 100644 --- a/lib/Service/Appointments/TimezoneGenerator.php +++ b/lib/Service/Appointments/TimezoneGenerator.php @@ -65,6 +65,7 @@ class TimezoneGenerator { * @param string $timezone Timezone * @param integer $from Unix timestamp with first date/time in this timezone * @param integer $to Unix timestap with last date/time in this timezone + * @psalm-suppress NoValue * * @return null|VTimeZone A Sabre\VObject\Component object representing a VTIMEZONE definition * or null if no timezone information is available @@ -131,7 +132,6 @@ public function generateVtimezone(string $timezone, int $from, int $to): ?VTimeZ } } - /** @psalm-suppress NoValue */ // add X-MICROSOFT-CDO-TZID if available $microsoftExchangeMap = array_flip(TimeZoneUtil::$microsoftExchangeMap); if (!empty($microsoftExchangeMap) && array_key_exists($tz->getName(), $microsoftExchangeMap)) {