From 52eea333e0837361316bb997d1d246063654f688 Mon Sep 17 00:00:00 2001 From: Daniel Kesselberg Date: Tue, 8 Aug 2023 23:50:38 +0200 Subject: [PATCH] docs: fix type definition for oldObject Broker.parseEvents accepts null for oldObject and therefore processICalendarChange as well. Signed-off-by: Daniel Kesselberg --- lib/CalDAV/Schedule/Plugin.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/CalDAV/Schedule/Plugin.php b/lib/CalDAV/Schedule/Plugin.php index 3cc360f1d4..22667541cf 100644 --- a/lib/CalDAV/Schedule/Plugin.php +++ b/lib/CalDAV/Schedule/Plugin.php @@ -605,10 +605,9 @@ public function getSupportedPrivilegeSet(INode $node, array &$supportedPrivilege * * This method may update $newObject to add any status changes. * - * @param VCalendar|string $oldObject - * @param array $ignore any addresses to not send messages to - * @param bool $modified a marker to indicate that the original object - * modified by this process + * @param VCalendar|string|null $oldObject + * @param array $ignore any addresses to not send messages to + * @param bool $modified a marker to indicate that the original object modified by this process */ protected function processICalendarChange($oldObject, VCalendar $newObject, array $addresses, array $ignore = [], &$modified = false) {