From 465aa825a82455671604d09709889285a597a86f Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Thu, 26 Jan 2023 11:24:53 +0100 Subject: [PATCH] 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 --- apps/dav/lib/CalDAV/Reminder/ReminderService.php | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/dav/lib/CalDAV/Reminder/ReminderService.php b/apps/dav/lib/CalDAV/Reminder/ReminderService.php index ffb829f454a0d..1da471a51f54b 100644 --- a/apps/dav/lib/CalDAV/Reminder/ReminderService.php +++ b/apps/dav/lib/CalDAV/Reminder/ReminderService.php @@ -217,7 +217,6 @@ public function onCalendarObjectCreate(array $objectData):void { return; } - /** @var VObject\Component\VCalendar $vcalendar */ $vcalendar = $this->parseCalendarData($calendarData); if (!$vcalendar) { return;