aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/CardDAV/SyncService.php
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-05-06 00:01:08 +0200
committerCarl Schwan <carl@carlschwan.eu>2022-05-16 11:05:54 +0200
commitf7be76125f885d66caac4a8d6697e121dce52708 (patch)
tree5abff07b0daa376ef90ad60b648611d2fc82d809 /apps/dav/lib/CardDAV/SyncService.php
parent829490ab7a02579c6b31573c3f53428e86cbf2e0 (diff)
downloadnextcloud-server-f7be76125f885d66caac4a8d6697e121dce52708.tar.gz
nextcloud-server-f7be76125f885d66caac4a8d6697e121dce52708.zip
Fix more psalm issues
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'apps/dav/lib/CardDAV/SyncService.php')
-rw-r--r--apps/dav/lib/CardDAV/SyncService.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/CardDAV/SyncService.php b/apps/dav/lib/CardDAV/SyncService.php
index b93fd94f741..95fdf1d21da 100644
--- a/apps/dav/lib/CardDAV/SyncService.php
+++ b/apps/dav/lib/CardDAV/SyncService.php
@@ -86,7 +86,7 @@ class SyncService {
*/
public function syncRemoteAddressBook($url, $userName, $addressBookUrl, $sharedSecret, $syncToken, $targetBookId, $targetPrincipal, $targetProperties) {
// 1. create addressbook
- $book = $this->ensureSystemAddressBookExists($targetPrincipal, $targetBookId, $targetProperties);
+ $book = $this->ensureSystemAddressBookExists($targetPrincipal, (string)$targetBookId, $targetProperties);
$addressBookId = $book['id'];
// 2. query changes