Completed
Pull Request — master (#9895)
by Björn
43:43 queued 13:05
created
apps/files_sharing/lib/External/Manager.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -324,7 +324,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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);
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/federatedfilesharing/lib/ocm/CloudFederationProviderFiles.php 1 patch
Doc Comments   +6 added lines, -6 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
@@ -314,10 +314,10 @@  discard block
 block discarded – undo
314 314
 	 * notify user about new federated share
315 315
 	 *
316 316
 	 * @param $shareWith
317
-	 * @param $shareId
318
-	 * @param $ownerFederatedId
319
-	 * @param $sharedByFederatedId
320
-	 * @param $name
317
+	 * @param integer $shareId
318
+	 * @param string $ownerFederatedId
319
+	 * @param string $sharedByFederatedId
320
+	 * @param string $name
321 321
 	 */
322 322
 	private function notifyAboutNewShare($shareWith, $shareId, $ownerFederatedId, $sharedByFederatedId, $name) {
323 323
 		$notification = $this->notificationManager->createNotification();
@@ -810,7 +810,7 @@  discard block
 block discarded – undo
810 810
 	/**
811 811
 	 * get the supported share types, e.g. "user", "group", etc.
812 812
 	 *
813
-	 * @return array
813
+	 * @return string[]
814 814
 	 */
815 815
 	public function getSupportedShareTypes() {
816 816
 		return ['user'];
Please login to merge, or discard this patch.