mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-02 05:59:21 +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
|
|
@ -130,7 +130,7 @@ class HeaderCollection extends \MailSo\Base\Collection
|
|||
return (null !== $oParameters) ? $oParameters->ParameterValueByName($sParamName) : '';
|
||||
}
|
||||
|
||||
public function &GetByName(string $sHeaderName) : \MailSo\Mime\Header
|
||||
public function &GetByName(string $sHeaderName) : ?\MailSo\Mime\Header
|
||||
{
|
||||
$oResult = $oHeader = null;
|
||||
|
||||
|
|
@ -266,7 +266,7 @@ class HeaderCollection extends \MailSo\Base\Collection
|
|||
return $this;
|
||||
}
|
||||
|
||||
public function DkimStatuses() : int
|
||||
public function DkimStatuses() : array
|
||||
{
|
||||
$aResult = array();
|
||||
|
||||
|
|
@ -342,7 +342,7 @@ class HeaderCollection extends \MailSo\Base\Collection
|
|||
return $aResult;
|
||||
}
|
||||
|
||||
public function PopulateEmailColectionByDkim($oEmails) : int
|
||||
public function PopulateEmailColectionByDkim($oEmails) : void
|
||||
{
|
||||
if ($oEmails && $oEmails instanceof \MailSo\Mime\EmailCollection)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue