Completed
Pull Request — master (#28733)
by Thomas
13:30
created
lib/private/User/Session.php 1 patch
Doc Comments   +8 added lines, -2 removed lines patch added patch discarded remove patch
@@ -303,7 +303,7 @@  discard block
 block discarded – undo
303 303
 	 * @param IRequest $request
304 304
 	 * @throws LoginException
305 305
 	 * @throws PasswordLoginForbiddenException
306
-	 * @return boolean
306
+	 * @return boolean|null
307 307
 	 */
308 308
 	public function logClientIn($user, $password, IRequest $request) {
309 309
 		$isTokenPassword = $this->isTokenPassword($password);
@@ -346,6 +346,9 @@  discard block
 block discarded – undo
346 346
 		return $this->config->getSystemValue('token_auth_enforced', false);
347 347
 	}
348 348
 
349
+	/**
350
+	 * @param string $username
351
+	 */
349 352
 	protected function isTwoFactorEnforced($username) {
350 353
 		Util::emitHook(
351 354
 			'\OCA\Files_Sharing\API\Server2Server',
@@ -857,6 +860,9 @@  discard block
 block discarded – undo
857 860
 		}
858 861
 	}
859 862
 
863
+	/**
864
+	 * @param IRequest $request
865
+	 */
860 866
 	public function verifyAuthHeaders($request) {
861 867
 		foreach ($this->getAuthModules(true) as $module) {
862 868
 			$user = $module->auth($request);
@@ -876,7 +882,7 @@  discard block
 block discarded – undo
876 882
 	}
877 883
 
878 884
 	/**
879
-	 * @param $includeBuiltIn
885
+	 * @param boolean $includeBuiltIn
880 886
 	 * @return \Generator | IAuthModule[]
881 887
 	 * @throws Exception
882 888
 	 */
Please login to merge, or discard this patch.