Completed
Pull Request — master (#30365)
by Thomas
15:44 queued 05:35
created
lib/private/User/Session.php 1 patch
Doc Comments   +8 added lines, -2 removed lines patch added patch discarded remove patch
@@ -322,7 +322,7 @@  discard block
 block discarded – undo
322 322
 	 * @param IRequest $request
323 323
 	 * @throws LoginException
324 324
 	 * @throws PasswordLoginForbiddenException
325
-	 * @return boolean
325
+	 * @return boolean|null
326 326
 	 */
327 327
 	public function logClientIn($user, $password, IRequest $request) {
328 328
 		$isTokenPassword = $this->isTokenPassword($password);
@@ -365,6 +365,9 @@  discard block
 block discarded – undo
365 365
 		return $this->config->getSystemValue('token_auth_enforced', false);
366 366
 	}
367 367
 
368
+	/**
369
+	 * @param string $username
370
+	 */
368 371
 	protected function isTwoFactorEnforced($username) {
369 372
 		Util::emitHook(
370 373
 			'\OCA\Files_Sharing\API\Server2Server',
@@ -987,6 +990,9 @@  discard block
 block discarded – undo
987 990
 		}
988 991
 	}
989 992
 
993
+	/**
994
+	 * @param IRequest $request
995
+	 */
990 996
 	public function verifyAuthHeaders($request) {
991 997
 		$lastUser = null;
992 998
 		try {
@@ -1015,7 +1021,7 @@  discard block
 block discarded – undo
1015 1021
 	}
1016 1022
 
1017 1023
 	/**
1018
-	 * @param $includeBuiltIn
1024
+	 * @param boolean $includeBuiltIn
1019 1025
 	 * @return \Generator | IAuthModule[]
1020 1026
 	 * @throws Exception
1021 1027
 	 */
Please login to merge, or discard this patch.