Skip to content

Commit

Permalink
CalendarDeletedResponse accepts 2 arguments, not 3
Browse files Browse the repository at this point in the history
It accepts a 'body' and (return) 'code' argument, but in the code here 'calendar_url' was erroneously passed in as first argument
  • Loading branch information
infostreams authored Mar 2, 2018
1 parent 0c2a835 commit af1d177
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Facade/CalDavClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ public function deleteCalendar($calendar_url, $etag = null)

return new CalendarDeletedResponse
(
$this->server_url, (string)$http_response->getBody(), $http_response->getStatusCode()
(string)$http_response->getBody(), $http_response->getStatusCode()
);
}
}
}

0 comments on commit af1d177

Please sign in to comment.