diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-04-14 17:06:46 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-04-14 17:06:46 +0300 |
commit | 7f32cfe6570d112fb748c9a97590e2b9d6e8aafb (patch) | |
tree | 931a9c6eaca5fafcd280f9fe7fa6c268631f60f2 /lib/Mailbox.php | |
parent | 2107b0f6ffe97ac40152207f7f90cc2a94ce46d1 (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.php | 4 |
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); } - } |