diff options
author | Faraz Samapoor <fsa@adlas.at> | 2023-06-12 18:22:05 +0330 |
---|---|---|
committer | Louis <6653109+artonge@users.noreply.github.com> | 2023-06-20 09:29:50 +0200 |
commit | 3519689d50434978a5ad083871686a9f59f9273e (patch) | |
tree | 2f75d8faadc07a5d12607b3ed0dee07511c168d6 /core/Command/Group/RemoveUser.php | |
parent | 64c19ce3aab20cae15bd522428ae54548a76b78b (diff) | |
download | nextcloud-server-3519689d50434978a5ad083871686a9f59f9273e.tar.gz nextcloud-server-3519689d50434978a5ad083871686a9f59f9273e.zip |
Uses PHP8's constructor property promotion in core/Command/Config and core/Command/Group classes.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
Diffstat (limited to 'core/Command/Group/RemoveUser.php')
-rw-r--r-- | core/Command/Group/RemoveUser.php | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/core/Command/Group/RemoveUser.php b/core/Command/Group/RemoveUser.php index c7b3a2d84e7..6c7d4ce4d84 100644 --- a/core/Command/Group/RemoveUser.php +++ b/core/Command/Group/RemoveUser.php @@ -34,12 +34,10 @@ use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; class RemoveUser extends Base { - protected IUserManager $userManager; - protected IGroupManager $groupManager; - - public function __construct(IUserManager $userManager, IGroupManager $groupManager) { - $this->userManager = $userManager; - $this->groupManager = $groupManager; + public function __construct( + protected IUserManager $userManager, + protected IGroupManager $groupManager, + ) { parent::__construct(); } |