summaryrefslogtreecommitdiffstats
path: root/core/Command/User/Add.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/Command/User/Add.php')
-rw-r--r--core/Command/User/Add.php11
1 files changed, 2 insertions, 9 deletions
diff --git a/core/Command/User/Add.php b/core/Command/User/Add.php
index 574be6e421c..24d11fbee6e 100644
--- a/core/Command/User/Add.php
+++ b/core/Command/User/Add.php
@@ -39,16 +39,9 @@ use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Question\Question;
class Add extends Command {
- /** @var \OCP\IUserManager */
- protected $userManager;
+ protected IUserManager $userManager;
+ protected IGroupManager $groupManager;
- /** @var \OCP\IGroupManager */
- protected $groupManager;
-
- /**
- * @param IUserManager $userManager
- * @param IGroupManager $groupManager
- */
public function __construct(IUserManager $userManager, IGroupManager $groupManager) {
parent::__construct();
$this->userManager = $userManager;