diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2020-09-17 08:51:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-17 08:51:20 +0200 |
commit | 05edd1e5d6156766d072a9bf4782293b37210977 (patch) | |
tree | 5ec1b4cc689c6aa75ef14ae86445f6e8da7dabe5 /apps/settings | |
parent | d788299cbd3868b867b6575761a1d4056429feff (diff) | |
parent | c6948c2517bd00d0ce597e29c52d3ebdf57bcdf8 (diff) | |
download | nextcloud-server-05edd1e5d6156766d072a9bf4782293b37210977.tar.gz nextcloud-server-05edd1e5d6156766d072a9bf4782293b37210977.zip |
Merge pull request #22890 from nextcloud/techdebt/18680/help-static-code-analysis-understand-code
Help static code analysis to understand code
Diffstat (limited to 'apps/settings')
-rw-r--r-- | apps/settings/lib/Controller/ChangePasswordController.php | 3 | ||||
-rw-r--r-- | apps/settings/lib/Controller/UsersController.php | 9 |
2 files changed, 8 insertions, 4 deletions
diff --git a/apps/settings/lib/Controller/ChangePasswordController.php b/apps/settings/lib/Controller/ChangePasswordController.php index 000c83ab79c..b0fb813b933 100644 --- a/apps/settings/lib/Controller/ChangePasswordController.php +++ b/apps/settings/lib/Controller/ChangePasswordController.php @@ -35,6 +35,7 @@ namespace OCA\Settings\Controller; +use OC\Group\Manager as GroupManager; use OC\HintException; use OC\User\Session; use OCP\App\IAppManager; @@ -58,7 +59,7 @@ class ChangePasswordController extends Controller { /** @var IL10N */ private $l; - /** @var IGroupManager */ + /** @var GroupManager */ private $groupManager; /** @var Session */ diff --git a/apps/settings/lib/Controller/UsersController.php b/apps/settings/lib/Controller/UsersController.php index 1bdd26316af..82e5bc903e4 100644 --- a/apps/settings/lib/Controller/UsersController.php +++ b/apps/settings/lib/Controller/UsersController.php @@ -38,7 +38,10 @@ use OC\Accounts\AccountManager; use OC\AppFramework\Http; use OC\Encryption\Exceptions\ModuleDoesNotExistsException; use OC\ForbiddenException; +use OC\Group\Manager as GroupManager; +use OC\L10N\Factory; use OC\Security\IdentityProof\Manager; +use OC\User\Manager as UserManager; use OCA\FederatedFileSharing\FederatedShareProvider; use OCA\Settings\BackgroundJobs\VerifyUserData; use OCA\Settings\Events\BeforeTemplateRenderedEvent; @@ -63,9 +66,9 @@ use OCP\Mail\IMailer; use function in_array; class UsersController extends Controller { - /** @var IUserManager */ + /** @var UserManager */ private $userManager; - /** @var IGroupManager */ + /** @var GroupManager */ private $groupManager; /** @var IUserSession */ private $userSession; @@ -77,7 +80,7 @@ class UsersController extends Controller { private $l10n; /** @var IMailer */ private $mailer; - /** @var IFactory */ + /** @var Factory */ private $l10nFactory; /** @var IAppManager */ private $appManager; |