Skip to content

Commit

Permalink
Update Server.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Lewiscowles1986 committed May 24, 2015
1 parent 92105be commit a3b85d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Fetch/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ protected function setImapStream()
/**
* 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='')
Expand All @@ -332,7 +332,7 @@ public function numMessages($mailbox='')
$cnt = $this->numMessages();
$this->setMailbox($oldMailbox);
}

return ((int) $cnt);
}

Expand Down

0 comments on commit a3b85d5

Please sign in to comment.