Completed
Pull Request — master (#19)
by Lukas
08:58
created
lib/public/Files/StorageBadConfigException.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,6 @@
 block discarded – undo
30 30
 	 * StorageTimeoutException constructor.
31 31
 	 *
32 32
 	 * @param string $message
33
-	 * @param int $code
34 33
 	 * @param \Exception $previous
35 34
 	 * @since 9.0.0
36 35
 	 */
Please login to merge, or discard this patch.
lib/public/Files/StorageConnectionException.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,6 @@
 block discarded – undo
30 30
 	 * StorageTimeoutException constructor.
31 31
 	 *
32 32
 	 * @param string $message
33
-	 * @param int $code
34 33
 	 * @param \Exception $previous
35 34
 	 * @since 9.0.0
36 35
 	 */
Please login to merge, or discard this patch.
lib/private/User/Session.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -292,7 +292,7 @@  discard block
 block discarded – undo
292 292
 	 *
293 293
 	 * @param string $uid
294 294
 	 * @param string $password
295
-	 * @return boolean|null
295
+	 * @return boolean
296 296
 	 * @throws LoginException
297 297
 	 */
298 298
 	public function login($uid, $password) {
@@ -375,6 +375,9 @@  discard block
 block discarded – undo
375 375
 		return $this->config->getSystemValue('token_auth_enforced', false);
376 376
 	}
377 377
 
378
+	/**
379
+	 * @param string $username
380
+	 */
378 381
 	protected function isTwoFactorEnforced($username) {
379 382
 		Util::emitHook(
380 383
 			'\OCA\Files_Sharing\API\Server2Server',
@@ -446,6 +449,9 @@  discard block
 block discarded – undo
446 449
 		return false;
447 450
 	}
448 451
 
452
+	/**
453
+	 * @param string $uid
454
+	 */
449 455
 	private function loginWithToken($uid) {
450 456
 		// TODO: $this->manager->emit('\OC\User', 'preTokenLogin', array($uid));
451 457
 		$user = $this->manager->get($uid);
Please login to merge, or discard this patch.