summaryrefslogtreecommitdiffstats
path: root/apps/federation/lib/syncfederationaddressbooks.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/federation/lib/syncfederationaddressbooks.php')
-rw-r--r--apps/federation/lib/syncfederationaddressbooks.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/federation/lib/syncfederationaddressbooks.php b/apps/federation/lib/syncfederationaddressbooks.php
index f9f402ea031..86fc4179dc4 100644
--- a/apps/federation/lib/syncfederationaddressbooks.php
+++ b/apps/federation/lib/syncfederationaddressbooks.php
@@ -18,12 +18,16 @@ class SyncFederationAddressBooks {
/**
* @param DbHandler $dbHandler
+ * @param SyncService $syncService
*/
- function __construct(DbHandler $dbHandler, $syncService) {
+ function __construct(DbHandler $dbHandler, SyncService $syncService) {
$this->syncService = $syncService;
$this->dbHandler = $dbHandler;
}
+ /**
+ * @param \Closure $callback
+ */
public function syncThemAll(\Closure $callback) {
$trustedServers = $this->dbHandler->getAllServer();