From d7c0b9cced2dff16e4e05507ac58cf8664a6aafc Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 26 Jun 2020 15:12:11 +0200 Subject: Also always return in app commands Signed-off-by: Joas Schilling --- apps/federation/lib/Command/SyncFederationAddressBooks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/federation/lib/Command') diff --git a/apps/federation/lib/Command/SyncFederationAddressBooks.php b/apps/federation/lib/Command/SyncFederationAddressBooks.php index 48f8895c1d7..05c24bdcb81 100644 --- a/apps/federation/lib/Command/SyncFederationAddressBooks.php +++ b/apps/federation/lib/Command/SyncFederationAddressBooks.php @@ -56,7 +56,7 @@ class SyncFederationAddressBooks extends Command { * @param OutputInterface $output * @return int */ - protected function execute(InputInterface $input, OutputInterface $output) { + protected function execute(InputInterface $input, OutputInterface $output): int { $progress = new ProgressBar($output); $progress->start(); $this->syncService->syncThemAll(function ($url, $ex) use ($progress, $output) { -- cgit v1.2.3