Completed
Pull Request — master (#24742)
by Christoph
09:15
created
lib/private/User/Session.php 1 patch
Doc Comments   +7 added lines, -5 removed lines patch added patch discarded remove patch
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
 	/**
171 171
 	 * get the current active user
172 172
 	 *
173
-	 * @return IUser|null Current user, otherwise null
173
+	 * @return null|User Current user, otherwise null
174 174
 	 */
175 175
 	public function getUser() {
176 176
 		// FIXME: This is a quick'n dirty work-around for the incognito mode as
@@ -282,7 +282,7 @@  discard block
 block discarded – undo
282 282
 	 *
283 283
 	 * @param string $uid
284 284
 	 * @param string $password
285
-	 * @return boolean|null
285
+	 * @return boolean
286 286
 	 * @throws LoginException
287 287
 	 */
288 288
 	public function login($uid, $password) {
@@ -355,6 +355,9 @@  discard block
 block discarded – undo
355 355
 		return false;
356 356
 	}
357 357
 
358
+	/**
359
+	 * @param string $uid
360
+	 */
358 361
 	private function loginWithToken($uid) {
359 362
 		// TODO: $this->manager->emit('\OC\User', 'preTokenLogin', array($uid));
360 363
 		$user = $this->manager->get($uid);
@@ -404,9 +407,8 @@  discard block
 block discarded – undo
404 407
 	}
405 408
 
406 409
 	/**
407
-	 * @param type $uid
408
-	 * @param type $password
409
-	 * @param type $sessionId
410
+	 * @param string $uid
411
+	 * @param string $password
410 412
 	 * @throws InvalidTokenException
411 413
 	 * @return string
412 414
 	 */
Please login to merge, or discard this patch.