]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix param name after Sabre\CalDAV update
authorLouis Chemineau <louis@chmn.me>
Thu, 16 Nov 2023 08:46:07 +0000 (09:46 +0100)
committerMaxence Lange <maxence@artificial-owl.com>
Wed, 22 Nov 2023 13:43:27 +0000 (12:43 -0100)
Signed-off-by: Louis Chemineau <louis@chmn.me>
apps/dav/lib/CalDAV/CachedSubscription.php

index dc7f66e59b43fba7be2bbf6b4e369b9416975776..4047f8dad0be0e3bff0494effbf963ce578a03a3 100644 (file)
@@ -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');
        }