Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib/IMAP
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2021-06-15 11:01:11 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2021-06-15 11:57:32 +0300
commit2abc2844724719dc1f7bab66de46821fcfb14955 (patch)
tree5d10c9eb37bc09f714edf75051d19fac3d53a87a /lib/IMAP
parente069bc59156e5af14f0e9dc3f844cac70a88671d (diff)
Document MailboxSync::persist arguments
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/IMAP')
-rw-r--r--lib/IMAP/MailboxSync.php5
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()])) {