diff --git a/core/command/resetpassword.php b/core/command/resetpassword.php index ab877655e2..ddff7a980d 100644 --- a/core/command/resetpassword.php +++ b/core/command/resetpassword.php @@ -38,6 +38,7 @@ class ResetPassword extends Command { protected function execute(InputInterface $input, OutputInterface $output) { $username = $input->getArgument('user'); + /** @var $user \OC\User\User */ $user = $this->userManager->get($username); if (is_null($user)) { $output->writeln("There is no user called " . $username . "");