summaryrefslogtreecommitdiffstats
path: root/settings/Controller/AuthSettingsController.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-10-05 16:31:28 +0200
committerJoas Schilling <coding@schilljs.com>2016-10-05 16:36:49 +0200
commit4db5b2a2c6737cb9377db3316af9e5fb1353055f (patch)
tree80912cef60e93ebc99bd3d24338248cd2366605b /settings/Controller/AuthSettingsController.php
parent8b3deb00b3af145a3a27af04b1332a804e7d8da4 (diff)
downloadnextcloud-server-4db5b2a2c6737cb9377db3316af9e5fb1353055f.tar.gz
nextcloud-server-4db5b2a2c6737cb9377db3316af9e5fb1353055f.zip
Use magic DI as much as possible
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'settings/Controller/AuthSettingsController.php')
-rw-r--r--settings/Controller/AuthSettingsController.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/settings/Controller/AuthSettingsController.php b/settings/Controller/AuthSettingsController.php
index 5e6ad7859a7..58994f0d59c 100644
--- a/settings/Controller/AuthSettingsController.php
+++ b/settings/Controller/AuthSettingsController.php
@@ -60,14 +60,14 @@ class AuthSettingsController extends Controller {
* @param IUserManager $userManager
* @param ISession $session
* @param ISecureRandom $random
- * @param string $uid
+ * @param string $userId
*/
public function __construct($appName, IRequest $request, IProvider $tokenProvider, IUserManager $userManager,
- ISession $session, ISecureRandom $random, $uid) {
+ ISession $session, ISecureRandom $random, $userId) {
parent::__construct($appName, $request);
$this->tokenProvider = $tokenProvider;
$this->userManager = $userManager;
- $this->uid = $uid;
+ $this->uid = $userId;
$this->session = $session;
$this->random = $random;
}