summaryrefslogtreecommitdiffstats
path: root/core/command
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@owncloud.com>2014-05-28 22:48:35 +0200
committerAndreas Fischer <bantu@owncloud.com>2014-05-28 22:48:35 +0200
commit8981929e92b9dc22e6542f16dc1cbce7cc338a9f (patch)
tree6e124a05540fb0d067146101f253b7fb83109520 /core/command
parent52e7bf96306a048c43d77d5c3db42f89187f45ce (diff)
downloadnextcloud-server-8981929e92b9dc22e6542f16dc1cbce7cc338a9f.tar.gz
nextcloud-server-8981929e92b9dc22e6542f16dc1cbce7cc338a9f.zip
Document type of user project.
Diffstat (limited to 'core/command')
-rw-r--r--core/command/resetpassword.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/command/resetpassword.php b/core/command/resetpassword.php
index ab877655e27..ddff7a980d0 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("<error>There is no user called " . $username . "</error>");