diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2018-08-01 17:17:39 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2018-08-01 17:17:39 +0300 |
commit | de8752c3335eec661d1bf5b8fbc210501f7eef94 (patch) | |
tree | 1dcc0b7ab6a4495f381dfbc43bba005ae078da36 /lib/Mailbox.php | |
parent | 84e63ccb5e95ba091951ff3164d21347d4ebd5f1 (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.php | 4 |
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); } /** |