aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLouis Chemineau <louis@chmn.me>2023-11-16 09:46:07 +0100
committerMaxence Lange <maxence@artificial-owl.com>2023-11-22 12:43:27 -0100
commit33ac1c04337741d4c8bb4903d216c18ea5ce1d9d (patch)
tree7a5f8b42ea05dcb826fbfb9822260d8c1a4fe91a
parentb0109b47d67fbd0c10ed62db1fdfd81456f22835 (diff)
downloadnextcloud-server-33ac1c04337741d4c8bb4903d216c18ea5ce1d9d.tar.gz
nextcloud-server-33ac1c04337741d4c8bb4903d216c18ea5ce1d9d.zip
Fix param name after Sabre\CalDAV update
Signed-off-by: Louis Chemineau <louis@chmn.me>
-rw-r--r--apps/dav/lib/CalDAV/CachedSubscription.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/dav/lib/CalDAV/CachedSubscription.php b/apps/dav/lib/CalDAV/CachedSubscription.php
index dc7f66e59b4..4047f8dad0b 100644
--- a/apps/dav/lib/CalDAV/CachedSubscription.php
+++ b/apps/dav/lib/CalDAV/CachedSubscription.php
@@ -169,11 +169,11 @@ class CachedSubscription extends \Sabre\CalDAV\Calendar {
/**
* @param string $name
- * @param null|resource|string $calendarData
+ * @param null|resource|string $data
* @return null|string
* @throws MethodNotAllowed
*/
- public function createFile($name, $calendarData = null) {
+ public function createFile($name, $data = null) {
throw new MethodNotAllowed('Creating objects in cached subscription is not allowed');
}