Skip to content

Commit

Permalink
docs: fix type definition for oldObject (#1481)
Browse files Browse the repository at this point in the history
Broker.parseEvents accepts null for oldObject and therefore processICalendarChange as well.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
  • Loading branch information
kesselb committed Nov 8, 2023
1 parent 2dd0244 commit 3f0cf4e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions lib/CalDAV/Schedule/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 3f0cf4e

Please sign in to comment.