Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@owncloud.com>2014-05-29 00:48:35 +0400
committerAndreas Fischer <bantu@owncloud.com>2014-05-29 00:48:35 +0400
commit8981929e92b9dc22e6542f16dc1cbce7cc338a9f (patch)
tree6e124a05540fb0d067146101f253b7fb83109520 /core/command
parent52e7bf96306a048c43d77d5c3db42f89187f45ce (diff)
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>");