Completed
Pull Request — master (#32545)
by Tom
09:02
created
lib/private/Files/Storage/Local.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,6 @@
 block discarded – undo
37 37
 namespace OC\Files\Storage;
38 38
 
39 39
 use OCP\Files\ForbiddenException;
40
-use OCP\Files\Storage\IStorage;
41 40
 
42 41
 /**
43 42
  * for local filestore, we only have to map the paths
Please login to merge, or discard this patch.
apps/federatedfilesharing/lib/FederatedShareProvider.php 1 patch
Doc Comments   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -394,7 +394,7 @@  discard block
 block discarded – undo
394 394
 	/**
395 395
 	 * store remote ID in federated reShare table
396 396
 	 *
397
-	 * @param $shareId
397
+	 * @param integer $shareId
398 398
 	 * @param $remoteId
399 399
 	 */
400 400
 	public function storeRemoteId($shareId, $remoteId) {
@@ -801,7 +801,7 @@  discard block
 block discarded – undo
801 801
 	/**
802 802
 	 * get database row of a give share
803 803
 	 *
804
-	 * @param $id
804
+	 * @param integer $id
805 805
 	 * @return array
806 806
 	 * @throws ShareNotFound
807 807
 	 */
@@ -1001,12 +1001,12 @@  discard block
 block discarded – undo
1001 1001
 	}
1002 1002
 
1003 1003
 	/**
1004
-	 * @param $remote
1005
-	 * @param $token
1006
-	 * @param $name
1007
-	 * @param $owner
1008
-	 * @param $shareWith
1009
-	 * @param $remoteId
1004
+	 * @param string $remote
1005
+	 * @param string $token
1006
+	 * @param string $name
1007
+	 * @param string $owner
1008
+	 * @param string $shareWith
1009
+	 * @param integer $remoteId
1010 1010
 	 *
1011 1011
 	 * @return int
1012 1012
 	 */
Please login to merge, or discard this patch.
lib/private/Lock/Persistent/Lock.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@
 block discarded – undo
117 117
 	/**
118 118
 	 * Unix timestamp when lock was created
119 119
 	 *
120
-	 * @return mixed
120
+	 * @return integer
121 121
 	 * @since 11.0.0
122 122
 	 */
123 123
 	public function getCreatedAt(): int {
Please login to merge, or discard this patch.
core/Controller/LostController.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
 	}
182 182
 
183 183
 	/**
184
-	 * @param $message
184
+	 * @param string $message
185 185
 	 * @param array $additional
186 186
 	 * @return array
187 187
 	 */
@@ -281,7 +281,7 @@  discard block
 block discarded – undo
281 281
 
282 282
 	/**
283 283
 	 * @param string $userId
284
-	 * @return array
284
+	 * @return string[]
285 285
 	 */
286 286
 	public function generateTokenAndLink($userId) {
287 287
 		$token = $this->secureRandom->generate(21,
Please login to merge, or discard this patch.
apps/files/lib/BackgroundJob/CleanupTransferRequests.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,6 @@
 block discarded – undo
42 42
 	/**
43 43
 	 * CleanupTransferRequests constructor.
44 44
 	 *
45
-	 * @param LockMapper $lockMapper
46 45
 	 */
47 46
 	public function __construct(TransferRequestMapper $mapper) {
48 47
 		$this->interval = $this->defaultIntervalMin * 60;
Please login to merge, or discard this patch.
apps/files/lib/Service/TransferOwnership/TransferRequestManager.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,12 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace OCA\Files\Service\TransferOwnership;
4 4
 
5
-use OC\Command\CommandJob;
6 5
 use OCA\Files\BackgroundJob\TransferOwnership;
7 6
 use OCP\AppFramework\Db\DoesNotExistException;
8 7
 use OCP\AppFramework\Utility\ITimeFactory;
9 8
 use OCP\BackgroundJob\IJobList;
10
-use OCP\Files\Folder;
11 9
 use OCP\Files\IRootFolder;
12 10
 use OCP\Files\NotFoundException;
13 11
 use OCP\Files\NotPermittedException;
Please login to merge, or discard this patch.