@@ -121,7 +121,7 @@ |
||
121 | 121 | * share received from another server |
122 | 122 | * |
123 | 123 | * @param ICloudFederationShare $share |
124 | - * @return string provider specific unique ID of the share |
|
124 | + * @return integer provider specific unique ID of the share |
|
125 | 125 | * |
126 | 126 | * @throws ProviderCouldNotAddShareException |
127 | 127 | * @throws \OCP\AppFramework\QueryException |
@@ -324,9 +324,9 @@ discard block |
||
324 | 324 | * |
325 | 325 | * @param string $remoteDomain |
326 | 326 | * @param string $token |
327 | - * @param $remoteId |
|
327 | + * @param integer $remoteId |
|
328 | 328 | * @param string $feedback |
329 | - * @return mixed |
|
329 | + * @return boolean|null |
|
330 | 330 | */ |
331 | 331 | protected function tryOCMEndPoint($remoteDomain, $token, $remoteId, $feedback) { |
332 | 332 | switch ($feedback) { |
@@ -405,6 +405,9 @@ discard block |
||
405 | 405 | return $result; |
406 | 406 | } |
407 | 407 | |
408 | + /** |
|
409 | + * @param string $mountPoint |
|
410 | + */ |
|
408 | 411 | public function removeShare($mountPoint) { |
409 | 412 | |
410 | 413 | $mountPointObj = $this->mountManager->find($mountPoint); |