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>2018-08-01 17:17:39 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2018-08-01 17:17:39 +0300
commitde8752c3335eec661d1bf5b8fbc210501f7eef94 (patch)
tree1dcc0b7ab6a4495f381dfbc43bba005ae078da36 /lib/Mailbox.php
parent84e63ccb5e95ba091951ff3164d21347d4ebd5f1 (diff)
Fix issues reported by Scrutinizer
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/Mailbox.php')
-rw-r--r--lib/Mailbox.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Mailbox.php b/lib/Mailbox.php
index 03db0e762..934376e34 100644
--- a/lib/Mailbox.php
+++ b/lib/Mailbox.php
@@ -231,8 +231,8 @@ class Mailbox implements IMailBox {
/**
* @return array
*/
- public function getStatus(): array {
- return $this->conn->status($this->mailBox, Horde_Imap_Client::STATUS_ALL);
+ public function getStatus(int $flags = Horde_Imap_Client::STATUS_ALL): array {
+ return $this->conn->status($this->mailBox, $flags);
}
/**