Completed
Pull Request — master (#30106)
by Individual IT
12:44 queued 01:45
created
core/Middleware/TwoFactorMiddleware.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -109,8 +109,8 @@
 block discarded – undo
109 109
 	}
110 110
 
111 111
 	/**
112
-	 * @param $controller
113
-	 * @param $methodName
112
+	 * @param Controller $controller
113
+	 * @param string $methodName
114 114
 	 * @throws TwoFactorAuthRequiredException
115 115
 	 * @throws UserAlreadyLoggedInException
116 116
 	 */
Please login to merge, or discard this patch.
lib/private/legacy/response.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -274,7 +274,7 @@  discard block
 block discarded – undo
274 274
 	 * @param string $userId
275 275
 	 * @param string $domain
276 276
 	 * @param \OCP\IConfig $config
277
-	 * @param array $headers
277
+	 * @param string[] $headers
278 278
 	 *
279 279
 	 * Format of $headers:
280 280
 	 * Array [
@@ -318,7 +318,7 @@  discard block
 block discarded – undo
318 318
 	 * This function adds the CORS headers for all domains
319 319
 	 *
320 320
 	 * @param Sabre\HTTP\ResponseInterface $response
321
-	 * @param Array $headers
321
+	 * @param string[] $headers
322 322
 	 *
323 323
 	 * Format of $headers:
324 324
 	 * Array [
Please login to merge, or discard this patch.
apps/files_sharing/lib/Hooks.php 2 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -114,6 +114,10 @@
 block discarded – undo
114 114
 		);
115 115
 	}
116 116
 
117
+	/**
118
+	 * @param IShare[] $shares
119
+	 * @param string $fileId
120
+	 */
117 121
 	private function filterSharesByFileId($shares, $fileId) {
118 122
 		return array_filter($shares, function(IShare $share) use ($fileId) {
119 123
 			return strval($share->getNodeId()) === strval($fileId);
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,6 @@
 block discarded – undo
33 33
 use OCP\Share\IShare;
34 34
 use Symfony\Component\EventDispatcher\GenericEvent;
35 35
 use OCA\Files_Sharing\Service\NotificationPublisher;
36
-use OCP\Share\Exceptions\ShareNotFound;
37 36
 
38 37
 class Hooks {
39 38
 
Please login to merge, or discard this patch.
settings/Application.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -39,11 +39,8 @@
 block discarded – undo
39 39
 use OC\Settings\Controller\AuthSettingsController;
40 40
 use OC\Settings\Controller\CertificateController;
41 41
 use OC\Settings\Controller\CheckSetupController;
42
-use OC\Settings\Controller\GroupsController;
43 42
 use OC\Settings\Controller\LogSettingsController;
44 43
 use OC\Settings\Controller\MailSettingsController;
45
-use OC\Settings\Controller\UsersController;
46
-use OC\Settings\Middleware\SubadminMiddleware;
47 44
 use OCP\AppFramework\App;
48 45
 use OCP\IContainer;
49 46
 use OCP\Util;
Please login to merge, or discard this patch.