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>
pull/36380/head
Christoph Wurst 2023-01-26 11:24:53 +07:00
parent 3eb73d0a3d
commit 954284f8cd
No known key found for this signature in database
GPG Key ID: CC42AC2A7F0E56D8
1 changed files with 0 additions and 1 deletions

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