Completed
Pull Request — master (#32303)
by Victor
09:16
created
apps/federatedfilesharing/lib/Notifications.php 1 patch
Doc Comments   +10 added lines, -2 removed lines patch added patch discarded remove patch
@@ -72,11 +72,9 @@  discard block
 block discarded – undo
72 72
 	/**
73 73
 	 * send server-to-server share to remote server
74 74
 	 *
75
-	 * @param Address $shareWithAddress
76 75
 	 * @param Address $ownerAddress
77 76
 	 * @param Address $sharedByAddress
78 77
 	 * @param string $token
79
-	 * @param string $shareWith
80 78
 	 * @param string $name
81 79
 	 * @param int $remote_id
82 80
 	 *
@@ -319,6 +317,11 @@  discard block
 block discarded – undo
319 317
 		return $result;
320 318
 	}
321 319
 
320
+	/**
321
+	 * @param string $token
322
+	 * @param string $name
323
+	 * @param integer $remote_id
324
+	 */
322 325
 	protected function sendOcmRemoteShare(Address $shareWithAddress, Address $ownerAddress, Address $sharedByAddress, $token, $name, $remote_id) {
323 326
 		$fields = [
324 327
 			'shareWith' => $shareWithAddress->getCloudId(),
@@ -347,6 +350,11 @@  discard block
 block discarded – undo
347 350
 		return false;
348 351
 	}
349 352
 
353
+	/**
354
+	 * @param string $token
355
+	 * @param string $name
356
+	 * @param integer $remote_id
357
+	 */
350 358
 	protected function sendPreOcmRemoteShare(Address $shareWithAddress, Address $ownerAddress, Address $sharedByAddress, $token, $name, $remote_id) {
351 359
 		$fields = [
352 360
 			'shareWith' => $shareWithAddress->getUserId(),
Please login to merge, or discard this patch.
apps/federatedfilesharing/lib/Controller/OcmController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,6 @@
 block discarded – undo
36 36
 use OCP\IRequest;
37 37
 use OCP\IURLGenerator;
38 38
 use OCP\IUserManager;
39
-use OCP\Share\IShare;
40 39
 
41 40
 /**
42 41
  * Class OcmController
Please login to merge, or discard this patch.
apps/federatedfilesharing/lib/Controller/RequestHandlerController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,6 @@
 block discarded – undo
39 39
 use OCP\Constants;
40 40
 use OCP\IRequest;
41 41
 use OCP\IUserManager;
42
-use OCP\Share\IShare;
43 42
 
44 43
 /**
45 44
  * Class RequestHandlerController
Please login to merge, or discard this patch.