summaryrefslogtreecommitdiffstats
path: root/apps/federation/lib
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/lib
parent2d7528bc64640240452711891ce0b339935797c0 (diff)
downloadnextcloud-server-a0cb52c90e4bae5f5ca7b78c8619888a9014edb7.tar.gz
nextcloud-server-a0cb52c90e4bae5f5ca7b78c8619888a9014edb7.zip
Fix PHPDoc and signature
Diffstat (limited to 'apps/federation/lib')
-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();