Small fixes

This commit is contained in:
RainLoop Team 2014-03-14 19:55:47 +04:00
parent 7d7c05737f
commit d1a7dd9491
5 changed files with 33 additions and 33 deletions

View file

@ -39,7 +39,7 @@ class ResponseException extends \MailSo\Imap\Exceptions\Exception
}
/**
* @return \MailSo\Imap\Response | null
* @return \MailSo\Imap\Response|null
*/
public function GetLastResponse()
{

View file

@ -142,7 +142,7 @@ class FetchResponse
{
$mReturn = $this->oImapResponse->ResponseList[1];
}
else
else if (isset($this->oImapResponse->ResponseList[3]) && \is_array($this->oImapResponse->ResponseList[3]))
{
foreach ($this->oImapResponse->ResponseList[3] as $mItem)
{

View file

@ -589,7 +589,7 @@ class ImapClient extends \MailSo\Net\NetClient
'STATUS' === $oImapResponse->StatusOrIndex &&
isset($oImapResponse->ResponseList[2]) &&
isset($oImapResponse->ResponseList[3]) &&
is_array($oImapResponse->ResponseList[3]))
\is_array($oImapResponse->ResponseList[3]))
{
$sFolderNameRaw = $oImapResponse->ResponseList[2];