Browse Source

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>
tags/v26.0.0beta2
Christoph Wurst 1 year ago
parent
commit
954284f8cd
No account linked to committer's email address
1 changed files with 0 additions and 1 deletions
  1. 0
    1
      apps/dav/lib/CalDAV/Reminder/ReminderService.php

+ 0
- 1
apps/dav/lib/CalDAV/Reminder/ReminderService.php View File

@@ -217,7 +217,6 @@ class ReminderService {
return;
}

/** @var VObject\Component\VCalendar $vcalendar */
$vcalendar = $this->parseCalendarData($calendarData);
if (!$vcalendar) {
return;

Loading…
Cancel
Save