Completed
Pull Request — master (#8026)
by Joas
158:50 queued 129:12
created
lib/private/User/Manager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -193,7 +193,7 @@
 block discarded – undo
193 193
 	 * @internal
194 194
 	 * @param string $loginName
195 195
 	 * @param string $password
196
-	 * @return mixed the User object on success, false otherwise
196
+	 * @return IUser the User object on success, false otherwise
197 197
 	 */
198 198
 	public function checkPasswordNoLogging($loginName, $password) {
199 199
 		$loginName = str_replace("\0", '', $loginName);
Please login to merge, or discard this patch.
lib/private/User/Session.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -339,7 +339,7 @@  discard block
 block discarded – undo
339 339
 	 * @param IUser $user
340 340
 	 * @param array $loginDetails
341 341
 	 * @param bool $regenerateSessionId
342
-	 * @return true returns true if login successful or an exception otherwise
342
+	 * @return boolean returns true if login successful or an exception otherwise
343 343
 	 * @throws LoginException
344 344
 	 */
345 345
 	public function completeLogin(IUser $user, array $loginDetails, $regenerateSessionId = true) {
@@ -446,6 +446,9 @@  discard block
 block discarded – undo
446 446
 		return $this->config->getSystemValue('token_auth_enforced', false);
447 447
 	}
448 448
 
449
+	/**
450
+	 * @param string $username
451
+	 */
449 452
 	protected function isTwoFactorEnforced($username) {
450 453
 		Util::emitHook(
451 454
 			'\OCA\Files_Sharing\API\Server2Server',
Please login to merge, or discard this patch.