diff options
Diffstat (limited to 'core/Command/User/Info.php')
-rw-r--r-- | core/Command/User/Info.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/Command/User/Info.php b/core/Command/User/Info.php index 52579a56031..ec5f9a4d1f7 100644 --- a/core/Command/User/Info.php +++ b/core/Command/User/Info.php @@ -65,7 +65,7 @@ class Info extends Base { ); } - protected function execute(InputInterface $input, OutputInterface $output) { + protected function execute(InputInterface $input, OutputInterface $output): int { $user = $this->userManager->get($input->getArgument('user')); if (is_null($user)) { $output->writeln('<error>user not found</error>'); @@ -85,5 +85,6 @@ class Info extends Base { 'backend' => $user->getBackendClassName() ]; $this->writeArrayInOutputFormat($input, $output, $data); + return 0; } } |