mirror of
https://github.com/retailcrm/Fetch.git
synced 2024-11-22 11:16:03 +03:00
PSR Madness
at least google led me to this for the cryptic messages... http://cs.sensiolabs.org/
This commit is contained in:
parent
5317b9955f
commit
92105be73d
@ -318,8 +318,8 @@ class Server
|
|||||||
/**
|
/**
|
||||||
* This returns the number of messages that the current mailbox contains.
|
* 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 the mailbox path if required to get sub-folder counts
|
||||||
* @return int
|
* @return int
|
||||||
*/
|
*/
|
||||||
public function numMessages($mailbox='')
|
public function numMessages($mailbox='')
|
||||||
{
|
{
|
||||||
@ -332,7 +332,8 @@ class Server
|
|||||||
$cnt = $this->numMessages();
|
$cnt = $this->numMessages();
|
||||||
$this->setMailbox($oldMailbox);
|
$this->setMailbox($oldMailbox);
|
||||||
}
|
}
|
||||||
return ((int)$cnt);
|
|
||||||
|
return ((int) $cnt);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user