diff options
author | Joas Schilling <coding@schilljs.com> | 2020-06-26 14:54:51 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-06-26 14:54:51 +0200 |
commit | ab21d69903c4360cbce59741624b6e765e3bd35f (patch) | |
tree | 8bed2d6af0d4bfef3766e356acc570b93eb9feb3 /core/Command/Status.php | |
parent | ed4afa55c1ccaef140ac310258ad837bf6af9557 (diff) | |
download | nextcloud-server-ab21d69903c4360cbce59741624b6e765e3bd35f.tar.gz nextcloud-server-ab21d69903c4360cbce59741624b6e765e3bd35f.zip |
Add return value to all commands
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core/Command/Status.php')
-rw-r--r-- | core/Command/Status.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/Command/Status.php b/core/Command/Status.php index 7702a672fc8..0c3257f8a59 100644 --- a/core/Command/Status.php +++ b/core/Command/Status.php @@ -38,7 +38,7 @@ class Status extends Base { ; } - protected function execute(InputInterface $input, OutputInterface $output) { + protected function execute(InputInterface $input, OutputInterface $output): int { $values = [ 'installed' => (bool) \OC::$server->getConfig()->getSystemValue('installed', false), 'version' => implode('.', \OCP\Util::getVersion()), @@ -47,5 +47,6 @@ class Status extends Base { ]; $this->writeArrayInOutputFormat($input, $output, $values); + return 0; } } |