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
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-14 17:06:46 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-14 17:06:46 +0300
commit7f32cfe6570d112fb748c9a97590e2b9d6e8aafb (patch)
tree931a9c6eaca5fafcd280f9fe7fa6c268631f60f2 /lib/Mailbox.php
parent2107b0f6ffe97ac40152207f7f90cc2a94ce46d1 (diff)
Update to nextcloud coding standard v0.3.0
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/Mailbox.php')
-rw-r--r--lib/Mailbox.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Mailbox.php b/lib/Mailbox.php
index 128fe3c06..09daef680 100644
--- a/lib/Mailbox.php
+++ b/lib/Mailbox.php
@@ -251,7 +251,7 @@ class Mailbox implements IMailBox {
strtolower(Horde_Imap_Client::SPECIALUSE_TRASH)
];
- $attributes = array_map(function($n) {
+ $attributes = array_map(function ($n) {
return strtolower($n);
}, $this->attributes);
@@ -272,7 +272,6 @@ class Mailbox implements IMailBox {
* @return void
*/
protected function guessSpecialRole(): void {
-
$specialFoldersDict = [
'inbox' => ['inbox'],
'sent' => ['sent', 'sent items', 'sent messages', 'sent-mail', 'sentmail'],
@@ -321,5 +320,4 @@ class Mailbox implements IMailBox {
return reset($uids);
}
-
}