Completed
Pull Request — master (#28733)
by Thomas
21:06 queued 07:54
created
lib/private/User/Session.php 1 patch
Doc Comments   +9 added lines, -3 removed lines patch added patch discarded remove patch
@@ -304,7 +304,7 @@  discard block
 block discarded – undo
304 304
 	 * @param IRequest $request
305 305
 	 * @throws LoginException
306 306
 	 * @throws PasswordLoginForbiddenException
307
-	 * @return boolean
307
+	 * @return boolean|null
308 308
 	 */
309 309
 	public function logClientIn($user, $password, IRequest $request) {
310 310
 		$isTokenPassword = $this->isTokenPassword($password);
@@ -347,6 +347,9 @@  discard block
 block discarded – undo
347 347
 		return $this->config->getSystemValue('token_auth_enforced', false);
348 348
 	}
349 349
 
350
+	/**
351
+	 * @param string $username
352
+	 */
350 353
 	protected function isTwoFactorEnforced($username) {
351 354
 		Util::emitHook(
352 355
 			'\OCA\Files_Sharing\API\Server2Server',
@@ -790,7 +793,7 @@  discard block
 block discarded – undo
790 793
 	/**
791 794
 	 * logout the user from the session
792 795
 	 *
793
-	 * @return bool
796
+	 * @return boolean|null
794 797
 	 */
795 798
 	public function logout() {
796 799
 
@@ -871,6 +874,9 @@  discard block
 block discarded – undo
871 874
 		}
872 875
 	}
873 876
 
877
+	/**
878
+	 * @param IRequest $request
879
+	 */
874 880
 	public function verifyAuthHeaders($request) {
875 881
 		foreach ($this->getAuthModules(true) as $module) {
876 882
 			$user = $module->auth($request);
@@ -890,7 +896,7 @@  discard block
 block discarded – undo
890 896
 	}
891 897
 
892 898
 	/**
893
-	 * @param $includeBuiltIn
899
+	 * @param boolean $includeBuiltIn
894 900
 	 * @return \Generator | IAuthModule[]
895 901
 	 * @throws Exception
896 902
 	 */
Please login to merge, or discard this patch.