diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2023-01-26 11:24:53 +0100 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2023-01-26 11:24:53 +0100 |
commit | 954284f8cd880d9314a8db950810ab5b37605c71 (patch) | |
tree | f29e888e6f0587c1d0b96da7077e45183d01bbf5 /apps/dav/lib/CalDAV/Reminder | |
parent | 3eb73d0a3d081194e676b7e7ba220a118e01e18d (diff) | |
download | nextcloud-server-954284f8cd880d9314a8db950810ab5b37605c71.tar.gz nextcloud-server-954284f8cd880d9314a8db950810ab5b37605c71.zip |
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>
Diffstat (limited to 'apps/dav/lib/CalDAV/Reminder')
-rw-r--r-- | apps/dav/lib/CalDAV/Reminder/ReminderService.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/dav/lib/CalDAV/Reminder/ReminderService.php b/apps/dav/lib/CalDAV/Reminder/ReminderService.php index ffb829f454a..1da471a51f5 100644 --- a/apps/dav/lib/CalDAV/Reminder/ReminderService.php +++ b/apps/dav/lib/CalDAV/Reminder/ReminderService.php @@ -217,7 +217,6 @@ class ReminderService { return; } - /** @var VObject\Component\VCalendar $vcalendar */ $vcalendar = $this->parseCalendarData($calendarData); if (!$vcalendar) { return; |