Completed
Pull Request — master (#32767)
by Victor
105:47 queued 09:39
created
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.
lib/public/Util.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -657,7 +657,7 @@
 block discarded – undo
657 657
 	/**
658 658
 	 * Determine if the string is, strictly-speaking, empty or not
659 659
 	 *
660
-	 * @param $value
660
+	 * @param string $value
661 661
 	 * @return bool
662 662
 	 * @since 10.0.1
663 663
 	 */
Please login to merge, or discard this patch.
core/Command/Db/Migrations/GenerateCommand.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -146,6 +146,9 @@
 block discarded – undo
146 146
 		return $path;
147 147
 	}
148 148
 
149
+	/**
150
+	 * @param string $kind
151
+	 */
149 152
 	private function getTemplate($kind) {
150 153
 		if ($kind === 'simple') {
151 154
 			return self::$_templateSimple;
Please login to merge, or discard this patch.
core/Command/Encryption/ChangeKeyStorageRoot.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -246,7 +246,7 @@
 block discarded – undo
246 246
 	/**
247 247
 	 * check if target already exists
248 248
 	 *
249
-	 * @param $path
249
+	 * @param string $path
250 250
 	 * @return bool
251 251
 	 * @throws \Exception
252 252
 	 */
Please login to merge, or discard this patch.
core/Command/User/ResetPassword.php 1 patch
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -32,12 +32,7 @@
 block discarded – undo
32 32
 use OC\Helper\EnvironmentHelper;
33 33
 use OCP\AppFramework\Utility\ITimeFactory;
34 34
 use OCP\IConfig;
35
-use OCP\IL10N;
36
-use OCP\IURLGenerator;
37 35
 use OCP\IUserManager;
38
-use OCP\Mail\IMailer;
39
-use OCP\Security\ISecureRandom;
40
-use OCP\Util;
41 36
 use Symfony\Component\Console\Command\Command;
42 37
 use Symfony\Component\Console\Input\InputInterface;
43 38
 use Symfony\Component\Console\Input\InputArgument;
Please login to merge, or discard this patch.
apps/files_sharing/lib/Controller/Share20OcsController.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -515,7 +515,7 @@  discard block
 block discarded – undo
515 515
 	/**
516 516
 	 * @param \OCP\Files\File|\OCP\Files\Folder $node
517 517
 	 * @param boolean $includeTags include tags in response
518
-	 * @param int|null $stateFilter state filter or empty for all, defaults to 0 (accepted)
518
+	 * @param integer $stateFilter state filter or empty for all, defaults to 0 (accepted)
519 519
 	 * @return Result
520 520
 	 */
521 521
 	private function getSharedWithMe($node = null, $includeTags, $stateFilter = 0) {
@@ -968,7 +968,7 @@  discard block
 block discarded – undo
968 968
 	}
969 969
 
970 970
 	/**
971
-	 * @param $id
971
+	 * @param integer $id
972 972
 	 * @param $state
973 973
 	 * @return Result
974 974
 	 */
@@ -1154,6 +1154,7 @@  discard block
 block discarded – undo
1154 1154
 	 * not support this we need to check all backends.
1155 1155
 	 *
1156 1156
 	 * @param string $id
1157
+	 * @param string $recipient
1157 1158
 	 * @return IShare
1158 1159
 	 * @throws ShareNotFound
1159 1160
 	 */
Please login to merge, or discard this patch.
lib/private/Share/MailNotifications.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
 	/**
130 130
 	 * inform users if a file was shared with them
131 131
 	 *
132
-	 * @param Node shared node
132
+	 * @param Node Node node
133 133
 	 * @param string $shareType share type
134 134
 	 * @param IUser[] $recipientList list of recipients
135 135
 	 *
@@ -238,10 +238,10 @@  discard block
 block discarded – undo
238 238
 	 * inform recipient about public link share
239 239
 	 *
240 240
 	 * @param string $recipient recipient email address
241
-	 * @param string $filename the shared file
242
-	 * @param string $link the public link
243 241
 	 * @param array $options allows ['to], ['cc'] and ['bcc'] recipients
244
-	 * @param int $expiration expiration date (timestamp)
242
+	 * @param string $subject
243
+	 * @param boolean|string $htmlBody
244
+	 * @param boolean|string $textBody
245 245
 	 * @return string[] $result of failed recipients
246 246
 	 */
247 247
 	public function sendLinkShareMailFromBody($recipient, $subject, $htmlBody, $textBody, $options = []) {
Please login to merge, or discard this patch.