Fix param name after Sabre\CalDAV update

Signed-off-by: Louis Chemineau <louis@chmn.me>
pull/41459/head
Louis Chemineau 2023-11-16 09:46:07 +07:00 committed by Maxence Lange
parent b0109b47d6
commit 33ac1c0433
1 changed files with 2 additions and 2 deletions

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