Skip to content

Commit

Permalink
use typed return
Browse files Browse the repository at this point in the history
  • Loading branch information
bapcltd-marv committed Jan 29, 2020
1 parent ae9c4d3 commit 85ad823
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/PhpImap/Mailbox.php
Expand Up @@ -469,11 +469,9 @@ public function setExpungeOnDisconnect(bool $isEnabled) : void
* Nmsgs - number of mails in the mailbox
* Recent - number of recent mails in the mailbox
*
* @return object
*
* @see imap_check
*/
public function checkMailbox()
public function checkMailbox() : object
{
return Imap::check($this->getImapStream());
}
Expand Down

0 comments on commit 85ad823

Please sign in to comment.