fix(caldav): Fix wrong Psalm report for nullable calendar data

> Docblock-defined type Sabre\VObject\Component\VCalendar for $vcalendar is never falsy

^ is a lie

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
Christoph Wurst 2023-01-26 11:24:53 +01:00 committed by blizzz (Rebase PR Action)
parent dc737047ce
commit befee5df6d

View file

@ -201,7 +201,6 @@ class ReminderService {
return;
}
/** @var VObject\Component\VCalendar $vcalendar */
$vcalendar = $this->parseCalendarData($calendarData);
if (!$vcalendar) {
return;