From ab21d69903c4360cbce59741624b6e765e3bd35f Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 26 Jun 2020 14:54:51 +0200 Subject: Add return value to all commands Signed-off-by: Joas Schilling --- core/Command/Check.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/Command/Check.php') diff --git a/core/Command/Check.php b/core/Command/Check.php index a4e17e0bf9c..f1615fa9410 100644 --- a/core/Command/Check.php +++ b/core/Command/Check.php @@ -50,7 +50,7 @@ class Check extends Base { ; } - protected function execute(InputInterface $input, OutputInterface $output) { + protected function execute(InputInterface $input, OutputInterface $output): int { $errors = \OC_Util::checkServer($this->config); if (!empty($errors)) { $errors = array_map(function ($item) { -- cgit v1.2.3