mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 13:39:22 +03:00
there's not type hint 'resource' (bug in my converter)
https://wiki.php.net/rfc/scalar_type_hints#type_hint_choices
This commit is contained in:
parent
69a33c0c25
commit
690190bb26
8 changed files with 12 additions and 11 deletions
|
|
@ -140,8 +140,8 @@ class HeaderCollection extends \MailSo\Base\Collection
|
|||
$aResult = $this->FilterList(function ($oHeader) use ($sHeaderName) {
|
||||
return $oHeader && \strtolower($oHeader->Name()) !== \strtolower($sHeaderName);
|
||||
});
|
||||
|
||||
return $this->SetAsArray($aResult);
|
||||
$this->SetAsArray($aResult);
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue