mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-07 16:37:02 +03:00
Bugfix: @param/@return documentation was incorrect which caused errors
This commit is contained in:
parent
7eb1defa16
commit
b81b36d120
10 changed files with 33 additions and 32 deletions
|
|
@ -138,7 +138,7 @@ class Folder
|
|||
return $this->oImapFolder->FlagsLowerCase();
|
||||
}
|
||||
|
||||
public function SubFolders(bool $bCreateIfNull = false) : \MailSo\Mail\FolderCollection
|
||||
public function SubFolders(bool $bCreateIfNull = false) : ?\MailSo\Mail\FolderCollection
|
||||
{
|
||||
if ($bCreateIfNull && !$this->oSubFolders)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -703,7 +703,7 @@ class MailClient
|
|||
* @throws \MailSo\Net\Exceptions\Exception
|
||||
* @throws \MailSo\Imap\Exceptions\Exception
|
||||
*/
|
||||
public function FolderInformation(string $sFolderName, string $sPrevUidNext = '', array $aUids = array()) : string
|
||||
public function FolderInformation(string $sFolderName, string $sPrevUidNext = '', array $aUids = array()) : array
|
||||
{
|
||||
$aFlags = array();
|
||||
|
||||
|
|
@ -1879,7 +1879,7 @@ class MailClient
|
|||
return $oMessageCollection;
|
||||
}
|
||||
|
||||
public function Quota() : array
|
||||
public function Quota() : ?array
|
||||
{
|
||||
return $this->oImapClient->Quota();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -345,37 +345,37 @@ class Message
|
|||
return $this->iPriority;
|
||||
}
|
||||
|
||||
public function Sender() : \MailSo\Mime\EmailCollection
|
||||
public function Sender() : ?\MailSo\Mime\EmailCollection
|
||||
{
|
||||
return $this->oSender;
|
||||
}
|
||||
|
||||
public function ReplyTo() : \MailSo\Mime\EmailCollection
|
||||
public function ReplyTo() : ?\MailSo\Mime\EmailCollection
|
||||
{
|
||||
return $this->oReplyTo;
|
||||
}
|
||||
|
||||
public function DeliveredTo() : \MailSo\Mime\EmailCollection
|
||||
public function DeliveredTo() : ?\MailSo\Mime\EmailCollection
|
||||
{
|
||||
return $this->oDeliveredTo;
|
||||
}
|
||||
|
||||
public function To() : \MailSo\Mime\EmailCollection
|
||||
public function To() : ?\MailSo\Mime\EmailCollection
|
||||
{
|
||||
return $this->oTo;
|
||||
}
|
||||
|
||||
public function Cc() : \MailSo\Mime\EmailCollection
|
||||
public function Cc() : ?\MailSo\Mime\EmailCollection
|
||||
{
|
||||
return $this->oCc;
|
||||
}
|
||||
|
||||
public function Bcc() : \MailSo\Mime\EmailCollection
|
||||
public function Bcc() : ?\MailSo\Mime\EmailCollection
|
||||
{
|
||||
return $this->oBcc;
|
||||
}
|
||||
|
||||
public function Attachments() : \MailSo\Mail\AttachmentCollection
|
||||
public function Attachments() : ?\MailSo\Mail\AttachmentCollection
|
||||
{
|
||||
return $this->oAttachments;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue