aboutsummaryrefslogtreecommitdiffstats
path: root/apps/federation/command/syncfederationaddressbooks.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2016-01-26 17:27:58 +0100
committerLukas Reschke <lukas@owncloud.com>2016-01-26 17:27:58 +0100
commita0cb52c90e4bae5f5ca7b78c8619888a9014edb7 (patch)
treec4b857e831c6f2714aba90edd85c5da573301509 /apps/federation/command/syncfederationaddressbooks.php
parent2d7528bc64640240452711891ce0b339935797c0 (diff)
downloadnextcloud-server-a0cb52c90e4bae5f5ca7b78c8619888a9014edb7.tar.gz
nextcloud-server-a0cb52c90e4bae5f5ca7b78c8619888a9014edb7.zip
Fix PHPDoc and signature
Diffstat (limited to 'apps/federation/command/syncfederationaddressbooks.php')
-rw-r--r--apps/federation/command/syncfederationaddressbooks.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/federation/command/syncfederationaddressbooks.php b/apps/federation/command/syncfederationaddressbooks.php
index aff54fa0901..61703d9d4e4 100644
--- a/apps/federation/command/syncfederationaddressbooks.php
+++ b/apps/federation/command/syncfederationaddressbooks.php
@@ -14,7 +14,7 @@ class SyncFederationAddressBooks extends Command {
private $syncService;
/**
- * @param DbHandler $dbHandler
+ * @param \OCA\Federation\SyncFederationAddressBooks $syncService
*/
function __construct(\OCA\Federation\SyncFederationAddressBooks $syncService) {
parent::__construct();
@@ -31,6 +31,7 @@ class SyncFederationAddressBooks extends Command {
/**
* @param InputInterface $input
* @param OutputInterface $output
+ * @return int
*/
protected function execute(InputInterface $input, OutputInterface $output) {
@@ -46,5 +47,7 @@ class SyncFederationAddressBooks extends Command {
$progress->finish();
$output->writeln('');
+
+ return 0;
}
}