aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/CalDAV/Reminder/INotificationProvider.php
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2023-01-18 14:22:15 +0100
committerThomas Citharel <tcit@tcit.fr>2023-01-18 14:30:43 +0100
commit62739ecf6cecbe55832b5e280360c882e3a2f6cf (patch)
tree362ccd687cf7a63d833affad0db877bf4e7edbc0 /apps/dav/lib/CalDAV/Reminder/INotificationProvider.php
parent9e08e4999821a0cf7c6b08fd9ab05f8d057c8362 (diff)
downloadnextcloud-server-62739ecf6cecbe55832b5e280360c882e3a2f6cf.tar.gz
nextcloud-server-62739ecf6cecbe55832b5e280360c882e3a2f6cf.zip
Handle reminders where calendar name is null
This adds an interface change, but that's not a public API. We're handling this in the providers and not in ReminderService because the fallback is translated with the user's language. Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'apps/dav/lib/CalDAV/Reminder/INotificationProvider.php')
-rw-r--r--apps/dav/lib/CalDAV/Reminder/INotificationProvider.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/dav/lib/CalDAV/Reminder/INotificationProvider.php b/apps/dav/lib/CalDAV/Reminder/INotificationProvider.php
index 505960ed662..e8cbfdd0ab3 100644
--- a/apps/dav/lib/CalDAV/Reminder/INotificationProvider.php
+++ b/apps/dav/lib/CalDAV/Reminder/INotificationProvider.php
@@ -42,13 +42,13 @@ interface INotificationProvider {
* Send notification
*
* @param VEvent $vevent
- * @param string $calendarDisplayName
+ * @param string|null $calendarDisplayName
* @param string[] $principalEmailAddresses All email addresses associated to the principal owning the calendar object
* @param IUser[] $users
* @return void
*/
public function send(VEvent $vevent,
- string $calendarDisplayName,
+ ?string $calendarDisplayName,
array $principalEmailAddresses,
array $users = []): void;
}