diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-08-31 21:47:25 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-31 21:47:25 +0300 |
commit | 9689f734e8774232bac345ad71fa700306c46312 (patch) | |
tree | ee14b6c51c3d66c9e2e90315a320dd3813cbc03d /apps/settings/lib/Controller | |
parent | b3eb0bfe05f6626cb02fe09d6b4f144f4b7dbc8e (diff) | |
parent | 60c42914d8d4ef815b239cb3b83ee682e56c5c22 (diff) |
Merge pull request #33429 from nextcloud/port-password-vue
Port password settings to vue
Diffstat (limited to 'apps/settings/lib/Controller')
-rw-r--r-- | apps/settings/lib/Controller/ChangePasswordController.php | 26 |
1 files changed, 7 insertions, 19 deletions
diff --git a/apps/settings/lib/Controller/ChangePasswordController.php b/apps/settings/lib/Controller/ChangePasswordController.php index 41f2584721c..a25f0b0e59b 100644 --- a/apps/settings/lib/Controller/ChangePasswordController.php +++ b/apps/settings/lib/Controller/ChangePasswordController.php @@ -49,28 +49,16 @@ use OCP\IUserManager; use OCP\IUserSession; class ChangePasswordController extends Controller { - - /** @var string */ - private $userId; - - /** @var IUserManager */ - private $userManager; - - /** @var IL10N */ - private $l; - - /** @var GroupManager */ - private $groupManager; - - /** @var Session */ - private $userSession; - - /** @var IAppManager */ - private $appManager; + private ?string $userId; + private IUserManager $userManager; + private IL10N $l; + private GroupManager $groupManager; + private Session $userSession; + private IAppManager $appManager; public function __construct(string $appName, IRequest $request, - string $userId, + ?string $userId, IUserManager $userManager, IUserSession $userSession, IGroupManager $groupManager, |