Skip to content

Commit

Permalink
Fix param name after Sabre\CalDAV update
Browse files Browse the repository at this point in the history
Signed-off-by: Louis Chemineau <louis@chmn.me>
  • Loading branch information
artonge authored and ArtificialOwl committed Nov 21, 2023
1 parent 4f30340 commit 530e55e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/dav/lib/CalDAV/CachedSubscription.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,11 +169,11 @@ public function getMultipleChildren(array $paths):array {

/**
* @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');
}

Expand Down

0 comments on commit 530e55e

Please sign in to comment.