@@ -106,7 +106,6 @@ |
||
106 | 106 | * @param string $ownerDisplayName display name of the user who shared the item |
107 | 107 | * @param string $sharedBy provider specific UID of the user who shared the resource |
108 | 108 | * @param string $sharedByDisplayName display name of the user who shared the resource |
109 | - * @param string $sharedSecret use to authenticate accross servers |
|
110 | 109 | * @param array $protocol (e,.g. ['name' => 'webdav', 'options' => ['username' => 'john', 'permissions' => 31]]) |
111 | 110 | * @param string $shareType ('group' or 'user' share) |
112 | 111 | * @param $resourceType ('file', 'calendar',...) |
@@ -324,9 +324,9 @@ discard block |
||
324 | 324 | * |
325 | 325 | * @param string $remoteDomain |
326 | 326 | * @param string $token |
327 | - * @param $remoteId id of the share |
|
327 | + * @param integer $remoteId id of the share |
|
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) { |
@@ -406,6 +406,9 @@ discard block |
||
406 | 406 | return $result; |
407 | 407 | } |
408 | 408 | |
409 | + /** |
|
410 | + * @param string $mountPoint |
|
411 | + */ |
|
409 | 412 | public function removeShare($mountPoint) { |
410 | 413 | |
411 | 414 | $mountPointObj = $this->mountManager->find($mountPoint); |
@@ -122,7 +122,7 @@ discard block |
||
122 | 122 | * share received from another server |
123 | 123 | * |
124 | 124 | * @param ICloudFederationShare $share |
125 | - * @return string provider specific unique ID of the share |
|
125 | + * @return integer provider specific unique ID of the share |
|
126 | 126 | * |
127 | 127 | * @throws ProviderCouldNotAddShareException |
128 | 128 | * @throws \OCP\AppFramework\QueryException |
@@ -265,7 +265,7 @@ discard block |
||
265 | 265 | } |
266 | 266 | |
267 | 267 | /** |
268 | - * @param $id |
|
268 | + * @param string $id |
|
269 | 269 | * @param $notification |
270 | 270 | * @return bool |
271 | 271 | * @throws ActionNotSupportedException |
@@ -28,7 +28,6 @@ |
||
28 | 28 | /** |
29 | 29 | * BadRequestException constructor. |
30 | 30 | * |
31 | - * @param array $missingParameters |
|
32 | 31 | */ |
33 | 32 | public function __construct() { |
34 | 33 | $l = \OC::$server->getL10N('federation'); |