From a3b85d5e32a82f9cd561f014ce93be3d2d432d37 Mon Sep 17 00:00:00 2001 From: Lewis Cowles Date: Sun, 24 May 2015 13:08:32 +0100 Subject: [PATCH] Update Server.php --- src/Fetch/Server.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Fetch/Server.php b/src/Fetch/Server.php index a91f4fa..2ae577a 100644 --- a/src/Fetch/Server.php +++ b/src/Fetch/Server.php @@ -318,7 +318,7 @@ class Server /** * This returns the number of messages that the current mailbox contains. * - * @param string $mailbox the mailbox path if required to get sub-folder counts + * @param string $mailbox * @return int */ public function numMessages($mailbox='') @@ -332,7 +332,7 @@ class Server $cnt = $this->numMessages(); $this->setMailbox($oldMailbox); } - + return ((int) $cnt); }