@@ -32,7 +32,6 @@ |
||
32 | 32 | use OCA\FederatedFileSharing\AddressHandler; |
33 | 33 | use OCA\FederatedFileSharing\FederatedShareProvider; |
34 | 34 | use OCA\FederatedFileSharing\Notifications; |
35 | -use OCA\FederatedFileSharing\OCM\CloudFederationProvider; |
|
36 | 35 | use OCA\FederatedFileSharing\TokenHandler; |
37 | 36 | use OCA\ShareByMail\Settings\SettingsManager; |
38 | 37 | use OCA\ShareByMail\ShareByMailProvider; |
@@ -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',...) |
@@ -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'); |
@@ -324,7 +324,7 @@ 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 | 329 | * @return bool |
330 | 330 | */ |
@@ -421,6 +421,9 @@ discard block |
||
421 | 421 | return $result; |
422 | 422 | } |
423 | 423 | |
424 | + /** |
|
425 | + * @param string $mountPoint |
|
426 | + */ |
|
424 | 427 | public function removeShare($mountPoint) { |
425 | 428 | |
426 | 429 | $mountPointObj = $this->mountManager->find($mountPoint); |
@@ -450,7 +450,7 @@ |
||
450 | 450 | /** |
451 | 451 | * translate Nextcloud permissions to OCM Permissions |
452 | 452 | * |
453 | - * @param $ncPermissions |
|
453 | + * @param integer $ncPermissions |
|
454 | 454 | * @return array |
455 | 455 | */ |
456 | 456 | protected function ncPermissions2ocmPermissions($ncPermissions) { |
@@ -142,7 +142,7 @@ discard block |
||
142 | 142 | * share received from another server |
143 | 143 | * |
144 | 144 | * @param ICloudFederationShare $share |
145 | - * @return string provider specific unique ID of the share |
|
145 | + * @return integer provider specific unique ID of the share |
|
146 | 146 | * |
147 | 147 | * @throws ProviderCouldNotAddShareException |
148 | 148 | * @throws \OCP\AppFramework\QueryException |
@@ -550,7 +550,7 @@ discard block |
||
550 | 550 | /** |
551 | 551 | * recipient of a share request to re-share the file with another user |
552 | 552 | * |
553 | - * @param $id |
|
553 | + * @param string $id |
|
554 | 554 | * @param $notification |
555 | 555 | * @return array |
556 | 556 | * @throws AuthenticationFailedException |