@@ -311,6 +311,11 @@ |
||
311 | 311 | } |
312 | 312 | } |
313 | 313 | |
314 | + /** |
|
315 | + * @param InputInterface $input |
|
316 | + * @param OutputInterface $output |
|
317 | + * @param boolean $shouldRepairStoragesIndividually |
|
318 | + */ |
|
314 | 319 | protected function processUserChunks($input, $output, $users, $inputPath, $shouldRepairStoragesIndividually, $group = null) { |
315 | 320 | # no messaging level option means: no full printout but statistics |
316 | 321 | # $quiet means no print at all |
@@ -323,7 +323,7 @@ discard block |
||
323 | 323 | * @throws \InvalidArgumentException |
324 | 324 | * @throws LoginException |
325 | 325 | * @throws PasswordLoginForbiddenException |
326 | - * @return boolean |
|
326 | + * @return boolean|null |
|
327 | 327 | */ |
328 | 328 | public function logClientIn($user, $password, IRequest $request) { |
329 | 329 | $isTokenPassword = $this->isTokenPassword($password); |
@@ -366,6 +366,9 @@ discard block |
||
366 | 366 | return $this->config->getSystemValue('token_auth_enforced', false); |
367 | 367 | } |
368 | 368 | |
369 | + /** |
|
370 | + * @param string $username |
|
371 | + */ |
|
369 | 372 | protected function isTwoFactorEnforced($username) { |
370 | 373 | Util::emitHook( |
371 | 374 | '\OCA\Files_Sharing\API\Server2Server', |
@@ -988,6 +991,9 @@ discard block |
||
988 | 991 | } |
989 | 992 | } |
990 | 993 | |
994 | + /** |
|
995 | + * @param IRequest $request |
|
996 | + */ |
|
991 | 997 | public function verifyAuthHeaders($request) { |
992 | 998 | $shallLogout = false; |
993 | 999 | try { |
@@ -1019,7 +1025,7 @@ discard block |
||
1019 | 1025 | } |
1020 | 1026 | |
1021 | 1027 | /** |
1022 | - * @param $includeBuiltIn |
|
1028 | + * @param boolean $includeBuiltIn |
|
1023 | 1029 | * @return \Generator | IAuthModule[] |
1024 | 1030 | * @throws Exception |
1025 | 1031 | */ |
@@ -30,7 +30,6 @@ |
||
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 |
@@ -113,6 +113,8 @@ |
||
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])) { |
@@ -134,7 +134,6 @@ |
||
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) { |
@@ -109,8 +109,8 @@ |
||
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 | */ |
@@ -274,7 +274,7 @@ discard block |
||
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 |
||
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 [ |
@@ -173,7 +173,7 @@ discard block |
||
173 | 173 | |
174 | 174 | /** |
175 | 175 | * @param Node $node |
176 | - * @param $correctChecksum |
|
176 | + * @param string $correctChecksum |
|
177 | 177 | * @throws NotFoundException |
178 | 178 | * @throws \OCP\Files\InvalidPathException |
179 | 179 | * @throws \OCP\Files\StorageNotAvailableException |
@@ -188,7 +188,7 @@ discard block |
||
188 | 188 | } |
189 | 189 | |
190 | 190 | /** |
191 | - * @param $path |
|
191 | + * @param string $path |
|
192 | 192 | * @param IStorage $storage |
193 | 193 | * @return string |
194 | 194 | * @throws \OCP\Files\StorageNotAvailableException |
@@ -790,9 +790,6 @@ discard block |
||
790 | 790 | /** |
791 | 791 | * List all apps, this is used in apps.php |
792 | 792 | * |
793 | - * @param bool $onlyLocal |
|
794 | - * @param bool $includeUpdateInfo Should we check whether there is an update |
|
795 | - * in the app store? |
|
796 | 793 | * @return array |
797 | 794 | */ |
798 | 795 | public static function listAllApps() { |
@@ -1183,7 +1180,7 @@ discard block |
||
1183 | 1180 | |
1184 | 1181 | /** |
1185 | 1182 | * @param $app |
1186 | - * @param $currentVersion |
|
1183 | + * @param string $currentVersion |
|
1187 | 1184 | * @param $versions |
1188 | 1185 | * @return bool |
1189 | 1186 | */ |