Completed
Pull Request — master (#9895)
by Björn
168:09 queued 150:46
created
lib/private/Authentication/TwoFactorAuth/Manager.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -164,8 +164,8 @@
 block discarded – undo
164 164
 	}
165 165
 
166 166
 	/**
167
-	 * @param array $states
168
-	 * @param IProvider $providers
167
+	 * @param string[] $states
168
+	 * @param IProvider[] $providers
169 169
 	 */
170 170
 	private function isProviderMissing(array $states, array $providers): bool {
171 171
 		$indexed = [];
Please login to merge, or discard this patch.
apps/dav/lib/Connector/Sabre/AnonymousOptionsPlugin.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
 
48 48
 	/**
49 49
 	 * @throws \Sabre\DAV\Exception\Forbidden
50
-	 * @return bool
50
+	 * @return false|null
51 51
 	 */
52 52
 	public function handleAnonymousOptions(RequestInterface $request, ResponseInterface $response) {
53 53
 		if ($request->getMethod() === 'OPTIONS' && $request->getPath() === '') {
Please login to merge, or discard this patch.
settings/Controller/AppSettingsController.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -238,7 +238,6 @@  discard block
 block discarded – undo
238 238
 	/**
239 239
 	 * Get all available apps in a category
240 240
 	 *
241
-	 * @param string $category
242 241
 	 * @return JSONResponse
243 242
 	 * @throws \Exception
244 243
 	 */
@@ -415,7 +414,7 @@  discard block
 block discarded – undo
415 414
 	 * apps will be enabled for specific groups only if $groups is defined
416 415
 	 *
417 416
 	 * @PasswordConfirmationRequired
418
-	 * @param array $appIds
417
+	 * @param string[] $appIds
419 418
 	 * @param array $groups
420 419
 	 * @return JSONResponse
421 420
 	 */
@@ -479,7 +478,7 @@  discard block
 block discarded – undo
479 478
 	/**
480 479
 	 * @PasswordConfirmationRequired
481 480
 	 *
482
-	 * @param array $appIds
481
+	 * @param string[] $appIds
483 482
 	 * @return JSONResponse
484 483
 	 */
485 484
 	public function disableApps(array $appIds): JSONResponse {
Please login to merge, or discard this patch.
apps/federatedfilesharing/lib/Controller/RequestHandlerController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -450,7 +450,7 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.
apps/accessibility/lib/Controller/ConfigController.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,6 @@
 block discarded – undo
74 74
 	 *
75 75
 	 * Get user accessibility config
76 76
 	 *
77
-	 * @param string $key theme or font
78 77
 	 * @return DataResponse
79 78
 	 */
80 79
 	public function getConfig(): DataResponse {
Please login to merge, or discard this patch.
apps/files_sharing/lib/External/Storage.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -407,7 +407,7 @@
 block discarded – undo
407 407
 	/**
408 408
 	 * calculate default permissions in case no permissions are provided
409 409
 	 *
410
-	 * @param $path
410
+	 * @param string $path
411 411
 	 * @return int
412 412
 	 */
413 413
 	protected function getDefaultPermissions($path) {
Please login to merge, or discard this patch.
apps/dav/lib/Connector/Sabre/FilesPlugin.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -450,7 +450,7 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.
lib/private/Files/Utils/Scanner.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -182,7 +182,7 @@
 block discarded – undo
182 182
 
183 183
 	/**
184 184
 	 * @param string $dir
185
-	 * @param $recursive
185
+	 * @param boolean $recursive
186 186
 	 * @param callable|null $mountFilter
187 187
 	 * @throws ForbiddenException
188 188
 	 * @throws NotFoundException
Please login to merge, or discard this patch.
apps/federatedfilesharing/lib/ocm/CloudFederationProviderFiles.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
 	 * share received from another server
151 151
 	 *
152 152
 	 * @param ICloudFederationShare $share
153
-	 * @return string provider specific unique ID of the share
153
+	 * @return integer provider specific unique ID of the share
154 154
 	 *
155 155
 	 * @throws ProviderCouldNotAddShareException
156 156
 	 * @throws \OCP\AppFramework\QueryException
@@ -325,11 +325,11 @@  discard block
 block discarded – undo
325 325
 	/**
326 326
 	 * notify user about new federated share
327 327
 	 *
328
-	 * @param $shareWith
329
-	 * @param $shareId
330
-	 * @param $ownerFederatedId
331
-	 * @param $sharedByFederatedId
332
-	 * @param $name
328
+	 * @param string $shareWith
329
+	 * @param integer $shareId
330
+	 * @param string $ownerFederatedId
331
+	 * @param string $sharedByFederatedId
332
+	 * @param string $name
333 333
 	 */
334 334
 	private function notifyAboutNewShare($shareWith, $shareId, $ownerFederatedId, $sharedByFederatedId, $name) {
335 335
 		$notification = $this->notificationManager->createNotification();
@@ -821,7 +821,7 @@  discard block
 block discarded – undo
821 821
 	/**
822 822
 	 * get the supported share types, e.g. "user", "group", etc.
823 823
 	 *
824
-	 * @return array
824
+	 * @return string[]
825 825
 	 *
826 826
 	 * @since 14.0.0
827 827
 	 */
Please login to merge, or discard this patch.