Skip to content

Commit

Permalink
fixup! fix: add VTIMEZONE to Appointments
Browse files Browse the repository at this point in the history
  • Loading branch information
miaulalala committed Nov 7, 2023
1 parent eb2f245 commit d68f9b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Service/Appointments/TimezoneGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)) {
Expand Down

0 comments on commit d68f9b2

Please sign in to comment.