Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'core/Command/Status.php')
-rw-r--r--core/Command/Status.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/Command/Status.php b/core/Command/Status.php
index 25632a313f3..5bcf23dfbca 100644
--- a/core/Command/Status.php
+++ b/core/Command/Status.php
@@ -3,6 +3,7 @@
* @copyright Copyright (c) 2016, ownCloud, Inc.
*
* @author Bart Visscher <bartv@thisnet.nl>
+ * @author Christoph Wurst <christoph@winzerhof-wurst.at>
* @author Joas Schilling <coding@schilljs.com>
* @author Morris Jobke <hey@morrisjobke.de>
*
@@ -21,7 +22,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>
*
*/
-
namespace OC\Core\Command;
use Symfony\Component\Console\Input\InputInterface;
@@ -37,7 +37,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()),
@@ -46,5 +46,6 @@ class Status extends Base {
];
$this->writeArrayInOutputFormat($input, $output, $values);
+ return 0;
}
}