@@ -187,7 +187,8 @@ discard block |
||
187 | 187 | } |
188 | 188 | |
189 | 189 | /** |
190 | - * @param $addressBookUri |
|
190 | + * @param string $addressBookUri |
|
191 | + * @param string $principal |
|
191 | 192 | * @return array|null |
192 | 193 | */ |
193 | 194 | public function getAddressBooksByUri($principal, $addressBookUri) { |
@@ -867,6 +868,7 @@ discard block |
||
867 | 868 | * * readOnly - boolean |
868 | 869 | * * summary - Optional, a description for the share |
869 | 870 | * |
871 | + * @param integer $addressBookId |
|
870 | 872 | * @return array |
871 | 873 | */ |
872 | 874 | public function getShares($addressBookId) { |
@@ -966,7 +968,7 @@ discard block |
||
966 | 968 | |
967 | 969 | /** |
968 | 970 | * For shared address books the sharee is set in the ACL of the address book |
969 | - * @param $addressBookId |
|
971 | + * @param integer $addressBookId |
|
970 | 972 | * @param $acl |
971 | 973 | * @return array |
972 | 974 | */ |
@@ -974,6 +976,9 @@ discard block |
||
974 | 976 | return $this->sharingBackend->applyShareAcl($addressBookId, $acl); |
975 | 977 | } |
976 | 978 | |
979 | + /** |
|
980 | + * @param boolean $toV2 |
|
981 | + */ |
|
977 | 982 | private function convertPrincipal($principalUri, $toV2) { |
978 | 983 | if ($this->principalBackend->getPrincipalPrefix() === 'principals') { |
979 | 984 | list(, $name) = URLUtil::splitPath($principalUri); |