Skip to content

Commit

Permalink
Merge pull request #91 from krzysiekpiasecki/master
Browse files Browse the repository at this point in the history
Mark Mailbox as countable, fix doc comments
  • Loading branch information
ddeboer committed Dec 3, 2015
2 parents 08cee7e + 2c37dee commit b193974
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Mailbox.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* An IMAP mailbox (commonly referred to as a ‘folder’)
*
*/
class Mailbox implements \IteratorAggregate
class Mailbox implements \Countable, \IteratorAggregate
{
private $mailbox;
private $name;
Expand Down
4 changes: 2 additions & 2 deletions src/Message.php
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ public function getAttachments()
/**
* Does this message have attachments?
*
* @return int
* @return bool
*/
public function hasAttachments()
{
Expand Down Expand Up @@ -291,7 +291,7 @@ public function move(Mailbox $mailbox)
/**
* Prevent the message from being marked as seen
*
* Defaults to false, so messages that are read will be marked as seen.
* Defaults to true, so messages that are read will be still marked as unseen.
*
* @param bool $bool
*
Expand Down

0 comments on commit b193974

Please sign in to comment.