Completed
Pull Request — master (#30643)
by Victor
10:17
created
lib/private/User/TokenAuthModule.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,6 @@
 block discarded – undo
30 30
 use OCP\Authentication\IAuthModule;
31 31
 use OCP\IRequest;
32 32
 use OCP\ISession;
33
-use OCP\IUser;
34 33
 use OCP\IUserManager;
35 34
 use OCP\Session\Exceptions\SessionNotAvailableException;
36 35
 
Please login to merge, or discard this patch.
core/Command/User/SyncBackend.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
 	 * @param SyncService $syncService
173 173
 	 * @param UserInterface $backend
174 174
 	 * @param string $missingAccountsAction
175
-	 * @param array $validActions
175
+	 * @param string[] $validActions
176 176
 	 */
177 177
 	private function syncMultipleUsers (
178 178
 		InputInterface $input,
@@ -220,7 +220,7 @@  discard block
 block discarded – undo
220 220
 	 * @param UserInterface $backend
221 221
 	 * @param string $uid
222 222
 	 * @param string $missingAccountsAction
223
-	 * @param array $validActions
223
+	 * @param string[] $validActions
224 224
 	 */
225 225
 	private function syncSingleUser(
226 226
 		InputInterface $input,
@@ -255,7 +255,7 @@  discard block
 block discarded – undo
255 255
 	}
256 256
 
257 257
 	/**
258
-	 * @param array $uids a list of uids to the the action
258
+	 * @param string[] $uids a list of uids to the the action
259 259
 	 * @param callable $callbackExists the callback used if the account for the uid exists. The
260 260
 	 * uid and the specific account will be passed as parameter to the callback in that order
261 261
 	 * @param callable $callbackMissing the callback used if the account doesn't exists. The uid (not
@@ -276,7 +276,7 @@  discard block
 block discarded – undo
276 276
 	 * @param string[] $unknownUsers
277 277
 	 * @param InputInterface $input
278 278
 	 * @param OutputInterface $output
279
-	 * @param $missingAccountsAction
279
+	 * @param string $missingAccountsAction
280 280
 	 * @param $validActions
281 281
 	 */
282 282
 	private function handleUnknownUsers(array $unknownUsers, InputInterface $input, OutputInterface $output, $missingAccountsAction, $validActions) {
Please login to merge, or discard this patch.
lib/private/Notification/Manager.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -113,6 +113,8 @@
 block discarded – undo
113 113
 	 * INTERNAL USE ONLY!! This method isn't part of the IManager interface
114 114
 	 * @internal This should only be used by the RegisterNotifierEventImpl (the real implementation).
115 115
 	 * Do NOT use this method outside as it might not work as expected.
116
+	 * @param string $id
117
+	 * @param string $name
116 118
 	 */
117 119
 	public function registerBuiltNotifier(INotifier $notifier, $id, $name) {
118 120
 		if (!isset($this->builtNotifiersHolder[$id]) && !isset($this->notifiersInfo[$id])) {
Please login to merge, or discard this patch.
lib/private/DB/MigrationService.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -275,7 +275,7 @@  discard block
 block discarded – undo
275 275
 	 * Return the explicit version for the aliases; current, next, prev, latest
276 276
 	 *
277 277
 	 * @param string $alias
278
-	 * @return mixed|null|string
278
+	 * @return string
279 279
 	 */
280 280
 	public function getMigration($alias) {
281 281
 		switch($alias) {
@@ -361,7 +361,7 @@  discard block
 block discarded – undo
361 361
 
362 362
 	/**
363 363
 	 * @param string $version
364
-	 * @return mixed
364
+	 * @return \Doctrine\DBAL\Schema\Schema
365 365
 	 * @throws \Exception
366 366
 	 */
367 367
 	protected function createInstance($version) {
Please login to merge, or discard this patch.
settings/Controller/CorsController.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -134,7 +134,6 @@
 block discarded – undo
134 134
 	 * @NoAdminRequired
135 135
 	 * @NoSubadminRequired
136 136
 	 *
137
-	 * @param string $domain Domain to remove
138 137
 	 * @return RedirectResponse Redirection to the settings page.
139 138
 	 */
140 139
 	public function removeDomain($id) {
Please login to merge, or discard this patch.
core/Command/Db/ConvertType.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -280,7 +280,7 @@  discard block
 block discarded – undo
280 280
 	/**
281 281
 	 * @param Connection $fromDB
282 282
 	 * @param Connection $toDB
283
-	 * @param $app
283
+	 * @param string $app
284 284
 	 * @throws \Exception
285 285
 	 * @throws \OC\NeedsUpdateException
286 286
 	 */
@@ -410,7 +410,7 @@  discard block
 block discarded – undo
410 410
 
411 411
 	/**
412 412
 	 * @param Table $table
413
-	 * @return mixed
413
+	 * @return string[]
414 414
 	 */
415 415
 	protected function getColumnTypes(Table $table) {
416 416
 		$tableName = $table->getName();
Please login to merge, or discard this patch.
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.
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.