diff options
author | Anna Larch <anna@nextcloud.com> | 2021-06-15 13:20:36 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-15 13:20:36 +0300 |
commit | 896335404b1c0fc61b0f9b672a1359c12f6c9242 (patch) | |
tree | b39295fba9a92236c573e9958220e88d78e3a462 /lib | |
parent | 7504e511515cdb2b553b3d2656eae4acd8bb3e5a (diff) | |
parent | 2abc2844724719dc1f7bab66de46821fcfb14955 (diff) |
Merge pull request #5183 from nextcloud/chore/document-mailboxsync-persist
Document MailboxSync::persist arguments
Diffstat (limited to 'lib')
-rw-r--r-- | lib/IMAP/MailboxSync.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/IMAP/MailboxSync.php b/lib/IMAP/MailboxSync.php index 0cae85263..9bb69d1d6 100644 --- a/lib/IMAP/MailboxSync.php +++ b/lib/IMAP/MailboxSync.php @@ -153,6 +153,11 @@ class MailboxSync { $this->mailboxMapper->update($mailbox); } + /** + * @param Account $account + * @param Folder[] $folders + * @param Mailbox[] $existing + */ private function persist(Account $account, array $folders, array $existing): void { foreach ($folders as $folder) { if (isset($existing[$folder->getMailbox()])) { |