mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-09 01:17:04 +03:00
[snappymail] Fix some confusing indentation
This commit is contained in:
parent
fe4344794b
commit
8608c18bbe
1 changed files with 16 additions and 15 deletions
|
|
@ -46,7 +46,8 @@ class MailClient
|
||||||
* @throws \MailSo\Imap\Exceptions\Exception
|
* @throws \MailSo\Imap\Exceptions\Exception
|
||||||
*/
|
*/
|
||||||
public function Connect(string $sServerName, int $iPort = 143,
|
public function Connect(string $sServerName, int $iPort = 143,
|
||||||
int $iSecurityType = \MailSo\Net\Enumerations\ConnectionSecurityType::AUTO_DETECT, bool $bVerifySsl = false, bool $bAllowSelfSigned = false, string $sClientCert = '') : self
|
int $iSecurityType = \MailSo\Net\Enumerations\ConnectionSecurityType::AUTO_DETECT, bool $bVerifySsl = false,
|
||||||
|
bool $bAllowSelfSigned = false, string $sClientCert = '') : self
|
||||||
{
|
{
|
||||||
$this->oImapClient->Connect($sServerName, $iPort, $iSecurityType, $bVerifySsl, $bAllowSelfSigned, $sClientCert);
|
$this->oImapClient->Connect($sServerName, $iPort, $iSecurityType, $bVerifySsl, $bAllowSelfSigned, $sClientCert);
|
||||||
return $this;
|
return $this;
|
||||||
|
|
@ -357,8 +358,8 @@ class MailClient
|
||||||
$aFetchResponse = $this->oImapClient->Fetch(array(
|
$aFetchResponse = $this->oImapClient->Fetch(array(
|
||||||
\strlen($sMimeIndex)
|
\strlen($sMimeIndex)
|
||||||
? \MailSo\Imap\Enumerations\FetchType::BODY_PEEK.'['.$sMimeIndex.'.MIME]'
|
? \MailSo\Imap\Enumerations\FetchType::BODY_PEEK.'['.$sMimeIndex.'.MIME]'
|
||||||
: \MailSo\Imap\Enumerations\FetchType::BODY_HEADER_PEEK
|
: \MailSo\Imap\Enumerations\FetchType::BODY_HEADER_PEEK),
|
||||||
), $iIndex, $bIndexIsUid);
|
$iIndex, $bIndexIsUid);
|
||||||
|
|
||||||
if (\count($aFetchResponse))
|
if (\count($aFetchResponse))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue