summaryrefslogtreecommitdiffstats
path: root/apps/federation/lib
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-06-24 20:25:38 +0200
committerCarl Schwan <carl@carlschwan.eu>2022-06-24 20:25:38 +0200
commit6114176b71faa5cbe9b28a307888e2ea0a21dcc4 (patch)
tree1cc001425784fe7c629643b0589a21437306aed8 /apps/federation/lib
parenta9cfa72d1cf5eccb352b34eb823559ac52f8e22c (diff)
downloadnextcloud-server-6114176b71faa5cbe9b28a307888e2ea0a21dcc4.tar.gz
nextcloud-server-6114176b71faa5cbe9b28a307888e2ea0a21dcc4.zip
Cleanup CardDav SyncService
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'apps/federation/lib')
-rw-r--r--apps/federation/lib/DbHandler.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/federation/lib/DbHandler.php b/apps/federation/lib/DbHandler.php
index abdabee6a08..3142cfd353d 100644
--- a/apps/federation/lib/DbHandler.php
+++ b/apps/federation/lib/DbHandler.php
@@ -99,7 +99,7 @@ class DbHandler {
/**
* Get trusted server with given ID
*
- * @return array{id: int, url: string, url_hash: string, token: string, shared_secret: string, status: int, sync_token: string}
+ * @return array{id: int, url: string, url_hash: string, token: ?string, shared_secret: ?string, status: int, sync_token: ?string}
* @throws \Exception
*/
public function getServerById(int $id): array {
@@ -122,7 +122,7 @@ class DbHandler {
/**
* Get all trusted servers
*
- * @return list<array{id: int, url: string, url_hash: string, shared_secret: string, status: int, sync_token: string}>
+ * @return list<array{id: int, url: string, url_hash: string, shared_secret: ?string, status: int, sync_token: ?string}>
* @throws DBException
*/
public function getAllServer(): array {