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 639d43b commit eb2f245
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Service/Appointments/TimezoneGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ 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)) {

Check failure on line 137 in lib/Service/Appointments/TimezoneGenerator.php

View workflow job for this annotation

GitHub Actions / Nextcloud dev-master

NoValue

lib/Service/Appointments/TimezoneGenerator.php:137:73: NoValue: All possible types for this argument were invalidated - This may be dead code (see https://psalm.dev/179)

Check failure on line 137 in lib/Service/Appointments/TimezoneGenerator.php

View workflow job for this annotation

GitHub Actions / Nextcloud dev-stable27

NoValue

lib/Service/Appointments/TimezoneGenerator.php:137:73: NoValue: All possible types for this argument were invalidated - This may be dead code (see https://psalm.dev/179)

Check failure on line 137 in lib/Service/Appointments/TimezoneGenerator.php

View workflow job for this annotation

GitHub Actions / Nextcloud dev-stable26

NoValue

lib/Service/Appointments/TimezoneGenerator.php:137:73: NoValue: All possible types for this argument were invalidated - This may be dead code (see https://psalm.dev/179)

Check failure on line 137 in lib/Service/Appointments/TimezoneGenerator.php

View workflow job for this annotation

GitHub Actions / Nextcloud dev-stable25

NoValue

lib/Service/Appointments/TimezoneGenerator.php:137:73: NoValue: All possible types for this argument were invalidated - This may be dead code (see https://psalm.dev/179)
Expand Down

0 comments on commit eb2f245

Please sign in to comment.