diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2021-06-15 11:01:11 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2021-06-15 11:57:32 +0300 |
commit | 2abc2844724719dc1f7bab66de46821fcfb14955 (patch) | |
tree | 5d10c9eb37bc09f714edf75051d19fac3d53a87a /lib/IMAP | |
parent | e069bc59156e5af14f0e9dc3f844cac70a88671d (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.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()])) { |