Fix param name after Sabre\CalDAV update

Signed-off-by: Louis Chemineau <louis@chmn.me>
This commit is contained in:
Louis Chemineau 2023-11-16 09:46:07 +01:00 committed by Maxence Lange
parent b0109b47d6
commit 33ac1c0433

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