summaryrefslogtreecommitdiffstats
path: root/core/Command/User/Report.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/Command/User/Report.php')
-rw-r--r--core/Command/User/Report.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/Command/User/Report.php b/core/Command/User/Report.php
index fff3924d324..b7fecee61bb 100644
--- a/core/Command/User/Report.php
+++ b/core/Command/User/Report.php
@@ -51,7 +51,7 @@ class Report extends Command {
->setDescription('shows how many users have access');
}
- protected function execute(InputInterface $input, OutputInterface $output) {
+ protected function execute(InputInterface $input, OutputInterface $output): int {
$table = new Table($output);
$table->setHeaders(['User Report', '']);
$userCountArray = $this->countUsers();
@@ -75,6 +75,7 @@ class Report extends Command {
$table->setRows($rows);
$table->render();
+ return 0;
}
private function countUsers() {