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/Upgrade.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/Upgrade.php')
-rw-r--r-- | core/Command/Upgrade.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Command/Upgrade.php b/core/Command/Upgrade.php index 41088c1685e..76d65ce73cb 100644 --- a/core/Command/Upgrade.php +++ b/core/Command/Upgrade.php @@ -83,7 +83,7 @@ class Upgrade extends Command { * @param InputInterface $input input interface * @param OutputInterface $output output interface */ - protected function execute(InputInterface $input, OutputInterface $output) { + protected function execute(InputInterface $input, OutputInterface $output): int { if (Util::needUpgrade()) { if (OutputInterface::VERBOSITY_NORMAL < $output->getVerbosity()) { // Prepend each line with a little timestamp |