summaryrefslogtreecommitdiffstats
path: root/apps/federation
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2020-07-01 11:52:14 +0200
committerGitHub <noreply@github.com>2020-07-01 11:52:14 +0200
commit47a21fad8cb4aecf24521ba6e46ad104378b277d (patch)
tree30082411b02ec39b28ee81526eb9b9bad61e6a82 /apps/federation
parentebedbf157968e40230a102c8f6f17c22990b0aae (diff)
parent1336f44a68a46c197ea6836c52f0f22b6dac7778 (diff)
downloadnextcloud-server-47a21fad8cb4aecf24521ba6e46ad104378b277d.tar.gz
nextcloud-server-47a21fad8cb4aecf24521ba6e46ad104378b277d.zip
Merge pull request #21597 from nextcloud/techdebt/noid/return-value-for-commands
Add return value to all commands
Diffstat (limited to 'apps/federation')
-rw-r--r--apps/federation/lib/Command/SyncFederationAddressBooks.php2
1 files changed, 1 insertions, 1 deletions
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) {