@@ -532,7 +532,7 @@ discard block |
||
532 | 532 | * |
533 | 533 | * @param string $vcard vCard |
534 | 534 | * @param string $vcard_id vCard id on the CardDAV server |
535 | - * @return boolean |
|
535 | + * @return string |
|
536 | 536 | */ |
537 | 537 | public function update($vcard, $vcard_id) |
538 | 538 | { |
@@ -672,7 +672,7 @@ discard block |
||
672 | 672 | * @param string $method HTTP method like (OPTIONS, GET, HEAD, POST, PUT, DELETE, TRACE, COPY, MOVE) |
673 | 673 | * @param string $content Content for CardDAV queries |
674 | 674 | * @param string $content_type Set content type |
675 | - * @return array Raw CardDAV Response and http status code |
|
675 | + * @return boolean Raw CardDAV Response and http status code |
|
676 | 676 | */ |
677 | 677 | private function query($url, $method, $content = null, $content_type = null) |
678 | 678 | { |
@@ -533,6 +533,10 @@ |
||
533 | 533 | * @param $item string the item to set |
534 | 534 | * @param $value mixed the value to store into the item |
535 | 535 | */ |
536 | + |
|
537 | + /** |
|
538 | + * @param string $item |
|
539 | + */ |
|
536 | 540 | public function setItem($item, $value) |
537 | 541 | { |
538 | 542 | $this->config[$item] = $value; |