aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/CalDAV/FreeBusy/FreeBusyGenerator.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav/lib/CalDAV/FreeBusy/FreeBusyGenerator.php')
-rw-r--r--apps/dav/lib/CalDAV/FreeBusy/FreeBusyGenerator.php26
1 files changed, 26 insertions, 0 deletions
diff --git a/apps/dav/lib/CalDAV/FreeBusy/FreeBusyGenerator.php b/apps/dav/lib/CalDAV/FreeBusy/FreeBusyGenerator.php
new file mode 100644
index 00000000000..c2c474a90fe
--- /dev/null
+++ b/apps/dav/lib/CalDAV/FreeBusy/FreeBusyGenerator.php
@@ -0,0 +1,26 @@
+<?php
+
+declare(strict_types=1);
+
+/**
+ * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
+
+namespace OCA\DAV\CalDAV\FreeBusy;
+
+use Sabre\VObject\Component\VCalendar;
+
+/**
+ * @psalm-suppress PropertyNotSetInConstructor
+ */
+class FreeBusyGenerator extends \Sabre\VObject\FreeBusyGenerator {
+
+ public function __construct() {
+ parent::__construct();
+ }
+
+ public function getVCalendar(): VCalendar {
+ return new VCalendar();
+ }
+}