Skip to content

Commit

Permalink
Adapt type annotation to interface definition
Browse files Browse the repository at this point in the history
  • Loading branch information
mstilkerich committed Jan 31, 2021
1 parent 416f38b commit 8c9815a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/SyncHandlerRoundcube.php
Expand Up @@ -80,8 +80,8 @@ public function __construct(
$abookId = $this->rcAbook->getId();

/**
* determine existing local contact URIs and ETAGs
* @var list<ContactDbInfo> $contacts
* determine existing local contact URIs and ETAGs
* @var list<ContactDbInfo> $contacts
*/
$contacts = $db->get(['abook_id' => $abookId], 'id,etag,uri,cuid', 'contacts');
foreach ($contacts as $contact) {
Expand Down Expand Up @@ -198,7 +198,7 @@ public function addressObjectDeleted(string $uri): void
* This is only requested by the Sync service in case it has to fall back to PROPFIND-based synchronization,
* i.e. if sync-collection REPORT is not supported by the server or did not work.
*
* @return string[] Maps card URIs to ETags
* @return array<string,string> Maps card URIs to ETags
*/
public function getExistingVCardETags(): array
{
Expand Down

0 comments on commit 8c9815a

Please sign in to comment.